]> granicus.if.org Git - clang/commit
[ASTDump] NFC: Remove redundant condition
authorStephen Kelly <steveire@gmail.com>
Fri, 18 Jan 2019 22:15:05 +0000 (22:15 +0000)
committerStephen Kelly <steveire@gmail.com>
Fri, 18 Jan 2019 22:15:05 +0000 (22:15 +0000)
commit4bc8e3364bacffb7b560979eb3dd7926e1b32602
treedd9688f4c8a0563d0fd6240a9dec3159fef5161f
parent3c50407abff659bb5978893bbe54452b2af33388
[ASTDump] NFC: Remove redundant condition

These conditions are duplicated from the dumpDeclContext function called
within the if(). This is presumably an attempt to avoid calling the
function in the case it will do nothing.

That may have made sense in the past if the code was different, but it
doesn't make sense now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351604 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTDumper.cpp