diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2007-03-12 17:56:27 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2007-03-12 17:56:27 +0000 |
commit | c4558fde76bdb17bff28375fe20ee02e027095b8 (patch) | |
tree | 5b5b674235e1ae8aa6f6622a9c6bbea2d81fbc22 /lib/Transforms/Utils/LowerSwitch.cpp | |
parent | 7d820f57e27fc00fafe58cd257ac62e38d68fee5 (diff) |
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
Diffstat (limited to 'lib/Transforms/Utils/LowerSwitch.cpp')
-rw-r--r-- | lib/Transforms/Utils/LowerSwitch.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Utils/LowerSwitch.cpp b/lib/Transforms/Utils/LowerSwitch.cpp index 17ebd09880..9e85974070 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<CaseRange> CaseVector; |