diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-05-22 23:51:40 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-05-22 23:51:40 +0000 |
commit | 0c7d4d7e2142d83a0dc939dba6939a6bff0715b9 (patch) | |
tree | 904d718105963b849180cae4650af8b024ec63c8 /llvm/lib/IR/Module.cpp | |
parent | 81559593a3143c13f3c0ad6296d71ebf912ee2be (diff) | |
download | bcm5719-llvm-0c7d4d7e2142d83a0dc939dba6939a6bff0715b9.tar.gz bcm5719-llvm-0c7d4d7e2142d83a0dc939dba6939a6bff0715b9.zip |
Add option to include multiple lines in snippets.
When a diagnostic includes a highlighted range spanning multiple lines, clang
now supports printing out multiple lines of context if necessary to show the
highlighted ranges. This is not yet exposed in the driver, but can be enabled
by "-Xclang -fcaret-diagnostics-max-lines -Xclang N".
This is experimental until we can find out whether it works well in practice,
and if so, what a good default for the maximum number of lines is.
llvm-svn: 303589
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions