summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-19 16:55:03 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-19 16:55:03 +0000
commit7b56f6c3c28ac5e1c2aee2a21effa18562868d49 (patch)
tree2b025780021c8d0d16b176ce763d2cc766467414 /clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
parent6ddca57327ca65fdbc9dd55ef59d14f59c566f79 (diff)
downloadbcm5719-llvm-7b56f6c3c28ac5e1c2aee2a21effa18562868d49.tar.gz
bcm5719-llvm-7b56f6c3c28ac5e1c2aee2a21effa18562868d49.zip
Simplify some implementations of get*Decl.
* NamedDecl and CXXMethodDecl were missing getMostRecentDecl. * The const version can just forward to the non const. * getMostRecentDecl can use cast instead of cast_or_null. This then removes some casts from the callers. llvm-svn: 193039
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud