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:
586cbe8
)
LowerSwitch: remove default args from CaseRange ctor; NFC
author
Hans Wennborg
<hans@hanshq.net>
Thu, 5 Feb 2015 16:50:27 +0000
(16:50 +0000)
committer
Hans Wennborg
<hans@hanshq.net>
Thu, 5 Feb 2015 16:50:27 +0000
(16:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228311
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 e8e811dd5557c19c69db47ba6627349ccc6c15ca..8141049a8179fb4bb7e223637a2ff30ecec9ff91 100644
(file)
--- a/
lib/Transforms/Utils/LowerSwitch.cpp
+++ b/
lib/Transforms/Utils/LowerSwitch.cpp
@@
-71,9
+71,8
@@
namespace {
Constant* High;
BasicBlock* BB;
- CaseRange(Constant *low = nullptr, Constant *high = nullptr,
- BasicBlock *bb = nullptr) :
- Low(low), High(high), BB(bb) { }
+ CaseRange(Constant *low, Constant *high, BasicBlock *bb)
+ : Low(low), High(high), BB(bb) {}
};
typedef std::vector<CaseRange> CaseVector;