aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/LLVMConventionsChecker.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-02-14 02:44:52 +0000
committerTed Kremenek <kremenek@apple.com>2010-02-14 02:44:52 +0000
commit280cfd70c7a536311656fbd2082cb54d59cf3a2e (patch)
tree5f1a635c0d367be976930f0991e42fb760eb7cc0 /lib/Checker/LLVMConventionsChecker.cpp
parentbb4a61a121ba1ee91eb5725881d98249704bb0aa (diff)
Two changes to AnalysisConsumer::HandleTopLevelSingleDecl():
(1) Since CXXMethodDecl subclasses FunctionDecl (and CXXDestructorDecl and CXXConversion subclass CXXMethodDecl), refactor switch statement to handle them all in one spot. (2) Use 'DeclarationName::getAsString()' to handle all functions that don't have simple identifiers (fixing a null dereference when scanning for specific functions). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96146 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/LLVMConventionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions