efriedma added inline comments.
================ Comment at: clang/lib/Sema/SemaChecking.cpp:1655 + TheCall->getArg(2)->isIntegerConstantExpr(I, Context); + if (I.isNullValue()) + break; ---------------- You can EvaluateKnownConstInt here, instead of isIntegerConstantExpr. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D73543/new/ https://reviews.llvm.org/D73543 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits