diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-07-16 19:50:32 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-07-16 19:50:32 +0000 |
commit | 0556048ae8ff743d0abb9fa88a0d0ee8e9123742 (patch) | |
tree | 7aa752e9a8585a50224fe2bc11c3375e42032def /lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp | |
parent | 57080fbac1ccce702255423335d52e81bcf17b6b (diff) |
[analyzer] Place checking for Core Foundation "Create" rule into a proper API. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp b/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp index 235b400eb9..9fc8163ab8 100644 --- a/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp +++ b/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp @@ -606,7 +606,7 @@ void VariadicMethodTypeChecker::checkPreObjCMessage(ObjCMessage msg, continue; // Ignore CF references, which can be toll-free bridged. - if (cocoa::isCFObjectRef(ArgTy)) + if (coreFoundation::isCFObjectRef(ArgTy)) continue; // Generate only one error node to use for all bug reports. |