Fix an unused variable warning from Clang by sinking a dyn_cast into an
authorChandler Carruth <chandlerc@gmail.com>
Thu, 14 Mar 2013 11:17:20 +0000 (11:17 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 14 Mar 2013 11:17:20 +0000 (11:17 +0000)
commit5aa9d793c5a878bab4552fa24b11f742404b4272
tree545023f41ff05b0d5ac633f14c1d52fdcc4e5a0d
parentead6cf7c729693451a19983ac165126f807a83d6
Fix an unused variable warning from Clang by sinking a dyn_cast into an
isa and a cast inside the assert. The efficiency concern isn't really
important here. The code should likely be cleaned up a bit more,
especially getting a message into the assert.

Please review Rafael.

llvm-svn: 177053
clang/include/clang/AST/Decl.h