From: Jeff Cohen Date: Mon, 12 Mar 2007 17:56:27 +0000 (+0000) Subject: Unbreak VC++ build. Do not use identifiers starting with _ as they are reserved and X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c4558fde76bdb17bff28375fe20ee02e027095b8;p=oota-llvm.git 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35066 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/LowerSwitch.cpp b/lib/Transforms/Utils/LowerSwitch.cpp index 17ebd098803..9e859740704 100644 --- a/lib/Transforms/Utils/LowerSwitch.cpp +++ b/lib/Transforms/Utils/LowerSwitch.cpp @@ -46,9 +46,9 @@ namespace { 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 CaseVector;