courbet added inline comments.
================ Comment at: clang/lib/Sema/SemaChecking.cpp:1655 + clang::Expr *SizeOp = TheCall->getArg(2); + // If any arg is instantiation dependent we bail out. + if (DstOp->isInstantiationDependent() || ---------------- Are the first two necessary ? IIRC only `EvaluateKnownConstInt()` does not like template-dependent stuff. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D76504/new/ https://reviews.llvm.org/D76504 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits