summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorEnea Zaffanella <zaffanella@cs.unipr.it>2013-05-04 08:27:07 +0000
committerEnea Zaffanella <zaffanella@cs.unipr.it>2013-05-04 08:27:07 +0000
commitacb8ecd6642708a11d3a53888fd8f7a903445b40 (patch)
treebb6013af033cc990ace0daff5ecf64d7a83cd010 /clang/lib/CodeGen/CodeGenModule.cpp
parentfee13d1e1102a791ba8e9fa3582b6ce6f52452ac (diff)
downloadbcm5719-llvm-acb8ecd6642708a11d3a53888fd8f7a903445b40.tar.gz
bcm5719-llvm-acb8ecd6642708a11d3a53888fd8f7a903445b40.zip
In VarDecl nodes, store the thread storage class specifier as written.
llvm-svn: 181113
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 66c3983a4b4..6ebd1d1410e 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -1623,7 +1623,7 @@ CodeGenModule::MaybeEmitGlobalStdInitializerListInitializer(const VarDecl *D,
D->getLocStart(), D->getLocation(),
name, arrayType, sourceInfo,
SC_Static);
- backingArray->setTLSKind(D->getTLSKind());
+ backingArray->setTSCSpec(D->getTSCSpec());
// Now clone the InitListExpr to initialize the array instead.
// Incredible hack: we want to use the existing InitListExpr here, so we need
OpenPOWER on IntegriCloud