diff options
author | Anna Zaks <ganna@apple.com> | 2013-02-05 19:52:26 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2013-02-05 19:52:26 +0000 |
commit | ef95aea4fe779730de23ac84536cfd135b13a4b4 (patch) | |
tree | 271efc2a5c1bf66c24c06258c97e6a422d2879c2 /lib/Analysis | |
parent | 087f40702fd00898fbb66d765d1143fd944c0485 (diff) |
[analyzer] add comment
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/BodyFarm.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Analysis/BodyFarm.cpp b/lib/Analysis/BodyFarm.cpp index 98010d3cb0..277996091c 100644 --- a/lib/Analysis/BodyFarm.cpp +++ b/lib/Analysis/BodyFarm.cpp @@ -268,7 +268,11 @@ static Stmt *create_OSAtomicCompareAndSwap(ASTContext &C, const FunctionDecl *D) if (D->param_size() != 3) return 0; - // Body for: + // Signature: + // _Bool OSAtomicCompareAndSwapPtr(void *__oldValue, + // void *__newValue, + // void * volatile *__theValue) + // Generate body: // if (oldValue == *theValue) { // *theValue = newValue; // return YES; |