diff options
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2020-09-04 16:13:29 +0100 |
---|---|---|
committer | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2020-09-04 16:57:46 +0100 |
commit | 2108bceceb5e6eca361aaa6b10441d83bd9edc1b (patch) | |
tree | 10a1fd69610a419581dae0e2a6b58d816fb7e563 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e0ff5a8410ea58ba3d2e75791789a28ce976a7e7 (diff) | |
download | llvm-2108bceceb5e6eca361aaa6b10441d83bd9edc1b.zip llvm-2108bceceb5e6eca361aaa6b10441d83bd9edc1b.tar.gz llvm-2108bceceb5e6eca361aaa6b10441d83bd9edc1b.tar.bz2 |
FormatTest: Provide real line number in failure messages
Currently a test failure always reports a line number inside verifyFormat()
which is not very helpful to see which test failed. With this change we now
emit the line number where the verify function was called. When using an
IDE such as CLion, the output now includes a clickable link that points to
the call site.
Reviewed By: MyDeveloperDay
Differential Revision: https://reviews.llvm.org/D86926
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions