Remove non-static field initializer to appease MSVC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212212 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alexey Samsonov 2014-07-02 20:25:42 +00:00
parent 773d63e2ad
commit 7950cae7b9

View File

@ -219,6 +219,7 @@ namespace {
/// Frontend-provided metadata for global variables.
class GlobalsMetadata {
public:
GlobalsMetadata() : inited_(false) {}
void init(Module& M) {
assert(!inited_);
inited_ = true;
@ -277,7 +278,7 @@ class GlobalsMetadata {
}
private:
bool inited_ = false;
bool inited_;
DenseMap<GlobalVariable*, GlobalVariable*> SourceLocation;
DenseSet<GlobalVariable*> DynInitGlobals;
DenseSet<GlobalVariable*> BlacklistedGlobals;