summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
diff options
context:
space:
mode:
authorGeorge Karpenkov <ekarpenkov@apple.com>2019-01-10 18:14:51 +0000
committerGeorge Karpenkov <ekarpenkov@apple.com>2019-01-10 18:14:51 +0000
commit371bfd729515bc0973afc153ffaa891b060b5a48 (patch)
tree412498138f29e0aba4f3388d482d93a10f57d2af /clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
parent4cb992e2541027caa9431d4ce3114ab35651d94b (diff)
downloadbcm5719-llvm-371bfd729515bc0973afc153ffaa891b060b5a48.tar.gz
bcm5719-llvm-371bfd729515bc0973afc153ffaa891b060b5a48.zip
[analyzer] [RetainCountChecker] [NFC] Refactor the way attributes are handled
Make sure all checks for attributes go through a centralized function, which checks whether attribute handling is enabled, and performs validation. The type of the attribute is returned. Sadly, metaprogramming is required as attributes have no sensible static getters. Differential Revision: https://reviews.llvm.org/D56222 llvm-svn: 350862
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud