summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCXXABI.h
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-03-26 22:48:22 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-03-26 22:48:22 +0000
commit0f38374f718559e3942907722db6a589769ff2de (patch)
tree7419af45ac4c4a2c8a841109d576317d60307e90 /clang/lib/CodeGen/CGCXXABI.h
parentb220a129ca42d3327d799e975b768689445885bd (diff)
downloadbcm5719-llvm-0f38374f718559e3942907722db6a589769ff2de.tar.gz
bcm5719-llvm-0f38374f718559e3942907722db6a589769ff2de.zip
PR19254: If a thread_local data member of a class is accessed via member access
syntax, don't forget to run its initializer. llvm-svn: 204869
Diffstat (limited to 'clang/lib/CodeGen/CGCXXABI.h')
-rw-r--r--clang/lib/CodeGen/CGCXXABI.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGCXXABI.h b/clang/lib/CodeGen/CGCXXABI.h
index ea308f0ba4e..783cc594361 100644
--- a/clang/lib/CodeGen/CGCXXABI.h
+++ b/clang/lib/CodeGen/CGCXXABI.h
@@ -481,8 +481,9 @@ public:
/// Emit a reference to a non-local thread_local variable (including
/// triggering the initialization of all thread_local variables in its
/// translation unit).
- virtual LValue EmitThreadLocalDeclRefExpr(CodeGenFunction &CGF,
- const DeclRefExpr *DRE);
+ virtual LValue EmitThreadLocalVarDeclLValue(CodeGenFunction &CGF,
+ const VarDecl *VD,
+ QualType LValType);
};
// Create an instance of a C++ ABI class:
OpenPOWER on IntegriCloud