[clang] [analyzer] Add support for consteval in ConditionBRVisitor::VisitTerminator (PR #146859)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 7 01:50:41 PDT 2025


================
@@ -0,0 +1,8 @@
+// RUN: %clang_analyze_cc1 -std=c++23 -analyzer-checker=core -verify %s
----------------
isuckatcs wrote:

I don't have anything against, but I don't see this pattern in the analyzer tests, so I'm a bit hesitant. We however have a lot of the `#if __cplusplus >= XXX` pattern, so I would prefer to check for the standard to keep things consistent.

https://github.com/llvm/llvm-project/pull/146859


More information about the cfe-commits mailing list