diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-10-14 20:59:01 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-10-14 20:59:01 +0000 |
commit | 4b72fddd9914d76370704c79f5fdedfbc6c6dedc (patch) | |
tree | a7fdd04f544b898111e60d696d30d8b5f6953571 /clang/lib/AST/StmtProfile.cpp | |
parent | 8b478360efd56c1b150647f794b2e13e6fef8400 (diff) | |
download | bcm5719-llvm-4b72fddd9914d76370704c79f5fdedfbc6c6dedc.tar.gz bcm5719-llvm-4b72fddd9914d76370704c79f5fdedfbc6c6dedc.zip |
Misc fixes for atomics. Biggest fix is doing alignment correctly for _Atomic types.
llvm-svn: 142002
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r-- | clang/lib/AST/StmtProfile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp index df49e843f96..214378a974a 100644 --- a/clang/lib/AST/StmtProfile.cpp +++ b/clang/lib/AST/StmtProfile.cpp @@ -470,6 +470,7 @@ void StmtProfiler::VisitGenericSelectionExpr(const GenericSelectionExpr *S) { void StmtProfiler::VisitAtomicExpr(const AtomicExpr *S) { VisitExpr(S); + ID.AddInteger(S->getOp()); } static Stmt::StmtClass DecodeOperatorCall(const CXXOperatorCallExpr *S, |