summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-10-11 02:20:01 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-10-11 02:20:01 +0000
commitdf14b3a8377fd020857ea6301d572d76c5a21221 (patch)
tree46eb29fa0be24fdcce2916d35e6e4c0b1e59e63c /clang/lib/AST/StmtProfile.cpp
parent8782734bccd44f0bdce89b78606082fae9aabd74 (diff)
downloadbcm5719-llvm-df14b3a8377fd020857ea6301d572d76c5a21221.tar.gz
bcm5719-llvm-df14b3a8377fd020857ea6301d572d76c5a21221.zip
Initial implementation of __atomic_* (everything except __atomic_is_lock_free).
llvm-svn: 141632
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r--clang/lib/AST/StmtProfile.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp
index 12321ef0d6f..df49e843f96 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -468,6 +468,10 @@ void StmtProfiler::VisitGenericSelectionExpr(const GenericSelectionExpr *S) {
}
}
+void StmtProfiler::VisitAtomicExpr(const AtomicExpr *S) {
+ VisitExpr(S);
+}
+
static Stmt::StmtClass DecodeOperatorCall(const CXXOperatorCallExpr *S,
UnaryOperatorKind &UnaryOp,
BinaryOperatorKind &BinaryOp) {
OpenPOWER on IntegriCloud