In VarDecl nodes, store the thread storage class specifier as written.
llvm-svn: 181113
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user