erichkeane added a comment. 1 more nit that I saw (don't use an 'else' after an 'if' branch that returns), but otherwise I think this is good from the CFE perspective. Someone better understanding of LLVM needs to look at the rest though.
================ Comment at: clang/lib/Sema/SemaChecking.cpp:1816 + return ExprError(); + } else { + llvm::APFloat Probability = Eval.Val.getFloat(); ---------------- You don't need the else, since the above branch returns. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D79830/new/ https://reviews.llvm.org/D79830 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits