summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Tooling/CommentHandlerTest.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2012-06-24 10:15:42 +0000
committerNick Lewycky <nicholas@mxc.ca>2012-06-24 10:15:42 +0000
commit0a045bbe4e32e558da7561393f39cb907c0a4530 (patch)
tree15ea1226d42e9e13806f78f3e61a51d114e8a1e7 /clang/unittests/Tooling/CommentHandlerTest.cpp
parentfd5e6e7db1064ce0e94ce4a1ea774922b382f9b9 (diff)
downloadbcm5719-llvm-0a045bbe4e32e558da7561393f39cb907c0a4530.tar.gz
bcm5719-llvm-0a045bbe4e32e558da7561393f39cb907c0a4530.zip
Remove dyn_cast + dereference pattern by replacing it with a cast and changing
the safety check to look for the same type we're going to actually cast to. Fixes PR13180! llvm-svn: 159110
Diffstat (limited to 'clang/unittests/Tooling/CommentHandlerTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud