Basic: fix compilation with MSVC
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 6 Jan 2015 05:55:56 +0000 (05:55 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 6 Jan 2015 05:55:56 +0000 (05:55 +0000)
commitfb99fc96c9c373b7b43965a0acbb4a81f09b86c5
treed2b8b2638a1b2062d84be6ff9a338611e0be87e0
parent3472ffb37e147451ec519b82cfc0b3f834d21e1d
Basic: fix compilation with MSVC

MSVC doesn't like the instantiation of the structure in the initializer list.
Initialize it in the constructor body to repair the build.

TargetInfo.h(545) : error C2143: syntax error : missing ')' before '{'
TargetInfo.h(545) : error C2143: syntax error : missing ';' before '}'
TargetInfo.h(545) : error C2059: syntax error : ')'
TargetInfo.h(545) : error C2059: syntax error : ','
TargetInfo.h(547) : error C2143: syntax error : missing ';' before '{'
TargetInfo.h(547) : error C2447: '{' : missing function header (old-style formal list?)

llvm-svn: 225247
clang/include/clang/Basic/TargetInfo.h