aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-12-22 00:34:48 +0000
committerTed Kremenek <kremenek@apple.com>2012-12-22 00:34:48 +0000
commita05d2741c40c71b59cf6d2f8bbc5d433a5d0e6de (patch)
tree4951b0859fb8bd60bac875df6ec31710462a0705 /lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp
parent4b6bb40b22877472d0b3d2961689f1f0ac23cc71 (diff)
Fix typo: objc_no_direct_instance_variable_assignmemt => objc_no_direct_instance_variable_assignment.
Fixes <rdar://problem/12927551>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp')
-rw-r--r--lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp b/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp
index a02301f4a9..378c175338 100644
--- a/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp
+++ b/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp
@@ -201,7 +201,7 @@ void ento::registerDirectIvarAssignment(CheckerManager &mgr) {
}
// Register the checker that checks for direct accesses in functions annotated
-// with __attribute__((annotate("objc_no_direct_instance_variable_assignmemt"))).
+// with __attribute__((annotate("objc_no_direct_instance_variable_assignment"))).
namespace {
struct InvalidatorMethodFilter : MethodFilter {
virtual ~InvalidatorMethodFilter() {}
@@ -210,7 +210,7 @@ struct InvalidatorMethodFilter : MethodFilter {
AI = M->specific_attr_begin<AnnotateAttr>(),
AE = M->specific_attr_end<AnnotateAttr>(); AI != AE; ++AI) {
const AnnotateAttr *Ann = *AI;
- if (Ann->getAnnotation() == "objc_no_direct_instance_variable_assignmemt")
+ if (Ann->getAnnotation() == "objc_no_direct_instance_variable_assignment")
return false;
}
return true;