aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2019-01-08 07:29:46 +0000
committerSam McCall <sam.mccall@gmail.com>2019-01-08 07:29:46 +0000
commite72804066c934121c066b2d8f5a2da4be17c9502 (patch)
treece1102a191cd512cf4a98e89f3e5c37441416087 /clang/lib/CodeGen/CodeGenModule.cpp
parentc76524006025363e80e21f856ecbcb63bb381ff7 (diff)
downloadllvm-e72804066c934121c066b2d8f5a2da4be17c9502.zip
llvm-e72804066c934121c066b2d8f5a2da4be17c9502.tar.gz
llvm-e72804066c934121c066b2d8f5a2da4be17c9502.tar.bz2
[ASTMatchers] Improve assert message for broken parent map.
Summary: This assert catches places where the AST (as seen by RecursiveASTVisitor) becomes disconnected due to incomplete traversal. Making it print the actual parent-less node is a lot more helpful - it's possible to work out which part of the tree wasn't traversed. Reviewers: ilya-biryukov Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D56395 llvm-svn: 350612
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions