diff options
author | DeLesley Hutchins <delesley@google.com> | 2015-09-29 15:25:51 +0000 |
---|---|---|
committer | DeLesley Hutchins <delesley@google.com> | 2015-09-29 15:25:51 +0000 |
commit | dc0541f12f6dfa2c4a91d2f12bd86ed6f0f65bd5 (patch) | |
tree | d355e55da06bb1a400112833334d7721b6f19bd1 /clang/lib/Analysis/ThreadSafetyCommon.cpp | |
parent | c1bc38ed4fe0f9cc5a839a8a8c5275897eb38e69 (diff) | |
download | llvm-dc0541f12f6dfa2c4a91d2f12bd86ed6f0f65bd5.zip llvm-dc0541f12f6dfa2c4a91d2f12bd86ed6f0f65bd5.tar.gz llvm-dc0541f12f6dfa2c4a91d2f12bd86ed6f0f65bd5.tar.bz2 |
Thread Safety Analysis: fix before/after checks so that they work on global
variables as well member variables.
llvm-svn: 248803
Diffstat (limited to 'clang/lib/Analysis/ThreadSafetyCommon.cpp')
-rw-r--r-- | clang/lib/Analysis/ThreadSafetyCommon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/ThreadSafetyCommon.cpp b/clang/lib/Analysis/ThreadSafetyCommon.cpp index 3c4d6b3..fa82378 100644 --- a/clang/lib/Analysis/ThreadSafetyCommon.cpp +++ b/clang/lib/Analysis/ThreadSafetyCommon.cpp @@ -290,7 +290,7 @@ til::SExpr *SExprBuilder::translateDeclRefExpr(const DeclRefExpr *DRE, VD = FD->getParamDecl(I); } - // For non-local variables, treat it as a referenced to a named object. + // For non-local variables, treat it as a reference to a named object. return new (Arena) til::LiteralPtr(VD); } |