[llvm] [llvm] Support building with c++23 (PR #154372)

A. Jiang via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 23:47:07 PDT 2025


================
@@ -615,7 +623,7 @@ bool SwitchMatcher::addMatcher(Matcher &Candidate) {
 }
 
 void SwitchMatcher::finalize() {
-  assert(Condition == nullptr && "Already finalized");
+  assert(Condition.get() == nullptr && "Already finalized");
----------------
frederick-vs-ja wrote:

Is it really necessary to change this line (and the similar line below)?

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


More information about the llvm-commits mailing list