diff options
author | Enea Zaffanella <zaffanella@cs.unipr.it> | 2013-05-04 08:27:07 +0000 |
---|---|---|
committer | Enea Zaffanella <zaffanella@cs.unipr.it> | 2013-05-04 08:27:07 +0000 |
commit | dc17384581e37436582a007be4d9185bcf7003ec (patch) | |
tree | b7475572aadba2ea806cedb1b971a008b7ed6b2c /lib/CodeGen/CodeGenModule.cpp | |
parent | ff920eec4d449bee560d8d99636ad0eb50cd9d8d (diff) |
In VarDecl nodes, store the thread storage class specifier as written.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181113 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 66c3983a4b..6ebd1d1410 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/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 |