]> granicus.if.org Git - clang/commit
Allow line numbers on -verify directives.
authorJordan Rose <jordan_rose@apple.com>
Tue, 10 Jul 2012 02:57:03 +0000 (02:57 +0000)
committerJordan Rose <jordan_rose@apple.com>
Tue, 10 Jul 2012 02:57:03 +0000 (02:57 +0000)
commitaa48fe80a1b2000809900a437f0819d929793002
tree0da14e6488b80bd660701f222537ff9143ee4794
parent4313c013c658f6c97e6460e7780c26faa6b78d9a
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
include/clang/Basic/DiagnosticFrontendKinds.td
include/clang/Basic/SourceManager.h
include/clang/Frontend/VerifyDiagnosticConsumer.h
lib/Frontend/VerifyDiagnosticConsumer.cpp