Simplify code to use castAs rather than getAs + assert.
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 21 Feb 2013 23:35:06 +0000 (23:35 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 21 Feb 2013 23:35:06 +0000 (23:35 +0000)
commitb169f559612d4c349939ea27192259d417b4c81f
tree4b9688becd1a1c56bb0d7be3cafed33ef30ab3c2
parent998cdc9eca61f594b8a70325b4ea6c34f306c190
Simplify code to use castAs rather than getAs + assert.

Post commit review feedback on r175812 from Jordan Rose.

llvm-svn: 175826
clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp