From dc0541f12f6dfa2c4a91d2f12bd86ed6f0f65bd5 Mon Sep 17 00:00:00 2001 From: DeLesley Hutchins Date: Tue, 29 Sep 2015 15:25:51 +0000 Subject: Thread Safety Analysis: fix before/after checks so that they work on global variables as well member variables. llvm-svn: 248803 --- clang/lib/Analysis/ThreadSafetyCommon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Analysis/ThreadSafetyCommon.cpp') diff --git a/clang/lib/Analysis/ThreadSafetyCommon.cpp b/clang/lib/Analysis/ThreadSafetyCommon.cpp index 3c4d6b30159..fa82378da18 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); } -- cgit v1.2.3