[llvm] r228311 - LowerSwitch: remove default args from CaseRange ctor; NFC
Hans Wennborg
hans at hanshq.net
Thu Feb 5 08:50:27 PST 2015
Author: hans
Date: Thu Feb 5 10:50:27 2015
New Revision: 228311
URL: http://llvm.org/viewvc/llvm-project?rev=228311&view=rev
Log:
LowerSwitch: remove default args from CaseRange ctor; NFC
Modified:
llvm/trunk/lib/Transforms/Utils/LowerSwitch.cpp
Modified: llvm/trunk/lib/Transforms/Utils/LowerSwitch.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/LowerSwitch.cpp?rev=228311&r1=228310&r2=228311&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/LowerSwitch.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/LowerSwitch.cpp Thu Feb 5 10:50:27 2015
@@ -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;
More information about the llvm-commits
mailing list