summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-04-05 20:43:28 +0000
committerTed Kremenek <kremenek@apple.com>2012-04-05 20:43:28 +0000
commitb45d198b6f01fa06f1b12eee083603352ef5d604 (patch)
tree64685796b13933ecd14fce2f964f2da98d77e0b5 /clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
parentaec8a82694b0a3d2650044474fb061c1696dc718 (diff)
downloadbcm5719-llvm-b45d198b6f01fa06f1b12eee083603352ef5d604.tar.gz
bcm5719-llvm-b45d198b6f01fa06f1b12eee083603352ef5d604.zip
Require that all static analyzer issues have a category. As part of this change,
consolidate some commonly used category strings into global references (more of this can be done, I just did a few). Fixes <rdar://problem/11191537>. llvm-svn: 154121
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
index 9d77ad4daaa..d15c8ba408a 100644
--- a/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
@@ -83,7 +83,7 @@ class InitSelfBug : public BugType {
const std::string desc;
public:
InitSelfBug() : BugType("Missing \"self = [(super or self) init...]\"",
- "Core Foundation/Objective-C") {}
+ categories::CoreFoundationObjectiveC) {}
};
} // end anonymous namespace
OpenPOWER on IntegriCloud