projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b28cf99
)
[analyzer] add comment
author
Anna Zaks
<ganna@apple.com>
Tue, 5 Feb 2013 19:52:26 +0000
(19:52 +0000)
committer
Anna Zaks
<ganna@apple.com>
Tue, 5 Feb 2013 19:52:26 +0000
(19:52 +0000)
llvm-svn: 174435
clang/lib/Analysis/BodyFarm.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Analysis/BodyFarm.cpp
b/clang/lib/Analysis/BodyFarm.cpp
index
98010d3
..
2779960
100644
(file)
--- a/
clang/lib/Analysis/BodyFarm.cpp
+++ b/
clang/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;