[cfe-dev] [clang-tidy] Determining constexpr evaluation time

Connor Davis via cfe-dev cfe-dev at lists.llvm.org
Sun Aug 30 16:15:24 PDT 2020

Hello all,

Is it possible to determine if a CallExpr will be evaluated
at compile time from clang-tidy? I notice some references to
InConstantContext in the EvaluateAs* functions in ExprConstant.cpp,
but I'm not sure if that is applicable/usable from clang-tidy.

Connor Davis

More information about the cfe-dev mailing list