projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d820f5
)
Unbreak VC++ build. Do not use identifiers starting with _ as they are reserved and
author
Jeff Cohen
<jeffc@jolt-lang.org>
Mon, 12 Mar 2007 17:56:27 +0000
(17:56 +0000)
committer
Jeff Cohen
<jeffc@jolt-lang.org>
Mon, 12 Mar 2007 17:56:27 +0000
(17:56 +0000)
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
lib/Transforms/Utils/LowerSwitch.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/LowerSwitch.cpp
b/lib/Transforms/Utils/LowerSwitch.cpp
index 17ebd0988030857b6ea8965db8c822f7f4be1c30..9e8597407045ad2a1fa9341ccf5c7ce0e3834951 100644
(file)
--- 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;