summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST/SourceLocationTest.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-06-05 22:11:12 +0000
committerAlp Toker <alp@nuanti.com>2014-06-05 22:11:12 +0000
commit27506271b46e082a4e4ebad8f17684dd875b8740 (patch)
tree4234c6206ef476c6e8bf358736f79c6fa5872142 /clang/unittests/AST/SourceLocationTest.cpp
parentfb8d02b179732b17897f1d4024583949a56b0bb5 (diff)
downloadbcm5719-llvm-27506271b46e082a4e4ebad8f17684dd875b8740.tar.gz
bcm5719-llvm-27506271b46e082a4e4ebad8f17684dd875b8740.zip
Provide fallback locations for backend remarks
Instead of disembodied diagnostics when debug info is disabled it's now possible to identify the associated function's location in order to provide some amount of of context. We use the definition's body right brace location to differentiate the fallback from diagnostics that genuinely relate to the function declaration itself (a convention also used by gcc). llvm-svn: 210294
Diffstat (limited to 'clang/unittests/AST/SourceLocationTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud