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
Showing
- include/clang/Basic/DiagnosticFrontendKinds.td 2 additions, 0 deletionsinclude/clang/Basic/DiagnosticFrontendKinds.td
- include/clang/Basic/SourceManager.h 8 additions, 0 deletionsinclude/clang/Basic/SourceManager.h
- include/clang/Frontend/VerifyDiagnosticConsumer.h 17 additions, 5 deletionsinclude/clang/Frontend/VerifyDiagnosticConsumer.h
- lib/Frontend/VerifyDiagnosticConsumer.cpp 83 additions, 55 deletionslib/Frontend/VerifyDiagnosticConsumer.cpp
Loading
Please register or sign in to comment