[clang] [analyzer] Add support for consteval in ConditionBRVisitor::VisitTerminator (PR #146859)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 6 17:57:19 PDT 2025
================
@@ -0,0 +1,8 @@
+// RUN: %clang_analyze_cc1 -std=c++23 -analyzer-checker=core -verify %s
+
+void test_consteval() {
+ if consteval {
----------------
isuckatcs wrote:
Please add one more test for the `if !consteval` case too.
https://github.com/llvm/llvm-project/pull/146859
More information about the cfe-commits
mailing list