[clang-tools-extra] [clang-tidy] ignore consteval function in `ExceptionAnalyzer` (PR #116643)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 20 13:39:59 PST 2024
================
@@ -320,6 +320,11 @@ bool isQualificationConvertiblePointer(QualType From, QualType To,
} // namespace
static bool canThrow(const FunctionDecl *Func) {
+ // consteval specifies every call to the function must produce a compile-time
+ // constant. compile-time constant cannot be evaluate a throw expression.
----------------
5chmidti wrote:
> // consteval specifies that every call to the function must produce a compile-time
// constant, which cannot evaluate a throw expression without producing a compilation error.
https://github.com/llvm/llvm-project/pull/116643
More information about the cfe-commits
mailing list