llvm.org GIT mirror llvm / d24c2c8
Fix some clang warnings in WinEHPrepare git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231985 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Kleckner 5 years ago
1 changed file(s) with 2 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
260260 class CatchHandler : public ActionHandler {
261261 public:
262262 CatchHandler(BasicBlock *BB, Constant *Selector, BasicBlock *NextBB)
263 : Selector(Selector), NextBB(NextBB), ExceptionObjectVar(nullptr),
264 ActionHandler(BB, ActionType::Catch) {}
263 : ActionHandler(BB, ActionType::Catch), Selector(Selector),
264 NextBB(NextBB), ExceptionObjectVar(nullptr) {}
265265
266266 // Method for support type inquiry through isa, cast, and dyn_cast:
267267 static inline bool classof(const ActionHandler *H) {
11391139 VisitedBlockSet VisitedBlocks;
11401140
11411141 while (HandlersFound != NumClauses) {
1142 Constant *Selector = nullptr;
11431142 BasicBlock *NextBB = nullptr;
11441143
11451144 // See if the clause we're looking for is a catch-all.