diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-19 16:55:03 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-19 16:55:03 +0000 |
| commit | 7b56f6c3c28ac5e1c2aee2a21effa18562868d49 (patch) | |
| tree | 2b025780021c8d0d16b176ce763d2cc766467414 /clang/lib/StaticAnalyzer/Core/BugReporter.cpp | |
| parent | 6ddca57327ca65fdbc9dd55ef59d14f59c566f79 (diff) | |
| download | bcm5719-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/BugReporter.cpp')
0 files changed, 0 insertions, 0 deletions

