]> granicus.if.org Git - clang/commit
Explicitly handle CXXExprWithTemporaries during CFG construction by just visiting...
authorTed Kremenek <kremenek@apple.com>
Sat, 28 Aug 2010 00:19:02 +0000 (00:19 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 28 Aug 2010 00:19:02 +0000 (00:19 +0000)
commit47e331ed28c2536bec227c5e2fa094ab3d46eed1
tree1021b3d3158ee35e8f7633c36ba4bcc0867c34ea
parent40181c4e587b8a988e691d7b46580b1a1212c535
Explicitly handle CXXExprWithTemporaries during CFG construction by just visiting the subexpression.  While we don't do anything intelligent right now, this obviates a bogus -Wunreahable-code warning reported in PR 6130.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112334 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFG.cpp
test/SemaCXX/unreachable-code.cpp