diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-07-10 02:57:03 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-07-10 02:57:03 +0000 |
commit | aa48fe80a1b2000809900a437f0819d929793002 (patch) | |
tree | 0da14e6488b80bd660701f222537ff9143ee4794 /include/clang/Basic/DiagnosticFrontendKinds.td | |
parent | 4313c013c658f6c97e6460e7780c26faa6b78d9a (diff) | |
download | clang-aa48fe80a1b2000809900a437f0819d929793002.tar.gz clang-aa48fe80a1b2000809900a437f0819d929793002.tar.bz2 clang-aa48fe80a1b2000809900a437f0819d929793002.tar.xz |
Allow line numbers on -verify directives.
// expected-warning@10 {{some text}}
The line number may be absolute (as above), or relative to the current
line by prefixing the number with either '+' or '-'.
Patch by Andy Gibbs!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159978 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticFrontendKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticFrontendKinds.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticFrontendKinds.td b/include/clang/Basic/DiagnosticFrontendKinds.td index 6fd7d2264b..f8d3b10a19 100644 --- a/include/clang/Basic/DiagnosticFrontendKinds.td +++ b/include/clang/Basic/DiagnosticFrontendKinds.td @@ -63,6 +63,8 @@ def warn_fe_serialized_diag_failure : Warning< "unable to open file %0 for serializing diagnostics (%1)">, InGroup<DiagGroup<"serialized-diagnostics">>; +def err_verify_missing_line : Error< + "missing or invalid line number following '@' in expected %0">; def err_verify_missing_start : Error< "cannot find start ('{{') of expected %0">; def err_verify_missing_end : Error< |