diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-09-13 19:48:51 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-09-13 19:48:51 +0000 |
commit | 5371c73cdfcc9bf9322119e2699e54afbe91d23c (patch) | |
tree | 613d4a71eeaa828a18d4eb07471b3d5f543eaa37 /clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp | |
parent | 32a56fa3ba5beab7a231d2fc373a9c6f5c517a3a (diff) | |
download | bcm5719-llvm-5371c73cdfcc9bf9322119e2699e54afbe91d23c.tar.gz bcm5719-llvm-5371c73cdfcc9bf9322119e2699e54afbe91d23c.zip |
Fix grammar.
llvm-svn: 163828
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp index 97bb80c9e19..a0fc3d2fbf0 100644 --- a/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp @@ -70,10 +70,10 @@ void MacOSXAPIChecker::CheckDispatchOnce(CheckerContext &C, const CallExpr *CE, BT_dispatchOnce.reset(new BugType("Improper use of 'dispatch_once'", "Mac OS X API")); - // Handle _dispatch_once, which in some versions of the OS X SDK that - // dispatch_once is a macro that wraps a call to _dispatch_once, which - // then calls the real dispatch_once. Users do not care; they just - // want the warning at the top-level call. + // Handle _dispatch_once. In some versions of the OS X SDK we have the case + // that dispatch_once is a macro that wraps a call to _dispatch_once. + // _dispatch_once is then a function which then calls the real dispatch_once. + // Users do not care; they just want the warning at the top-level call. if (CE->getLocStart().isMacroID()) { StringRef TrimmedFName = FName.ltrim("_"); if (TrimmedFName != FName) |