summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TableGen/TGParser.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-03-14 10:16:40 +0000
committerPavel Labath <labath@google.com>2018-03-14 10:16:40 +0000
commit3a17e75be9589517e03f59fe03fc39bebfccd0ce (patch)
treedc238c86c2f8e9171151e22ee54d44254f15b589 /llvm/lib/TableGen/TGParser.cpp
parent10ef3136780e13b000e6cbd6d2a8870ce821cc6f (diff)
downloadbcm5719-llvm-3a17e75be9589517e03f59fe03fc39bebfccd0ce.tar.gz
bcm5719-llvm-3a17e75be9589517e03f59fe03fc39bebfccd0ce.zip
StaticAnalyzer: fix compiler warning. NFC
My compiler (clang-3.8) complains that the RCC variable is unused. That's not really true, as it's checked by the if-declaration, but it's also kinda true, because we don't need to declaration if we only check it in the if statement. In reality, all this means that the dyn_cast<> can be replaced by isa<>, so that's what I do here. llvm-svn: 327491
Diffstat (limited to 'llvm/lib/TableGen/TGParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud