Unbreak VC++ build. Do not use identifiers starting with _ as they are reserved and
can collide with system defined names. Windows defines _BB, for example.
llvm-svn: 35066
diff --git a/llvm/lib/Transforms/Utils/LowerSwitch.cpp b/llvm/lib/Transforms/Utils/LowerSwitch.cpp
index 17ebd09..9e85974 100644
--- a/llvm/lib/Transforms/Utils/LowerSwitch.cpp
+++ b/llvm/lib/Transforms/Utils/LowerSwitch.cpp
@@ -46,9 +46,9 @@
Constant* High;
BasicBlock* BB;
- CaseRange(Constant* _Low = NULL, Constant* _High = NULL,
- BasicBlock* _BB = NULL):
- Low(_Low), High(_High), BB(_BB) { }
+ CaseRange() : Low(0), High(0), BB(0) { }
+ CaseRange(Constant* low, Constant* high, BasicBlock* bb) :
+ Low(low), High(high), BB(bb) { }
};
typedef std::vector<CaseRange> CaseVector;