[libcxx-commits] [clang] [libcxx] [Clang] Normalize constraints before checking for satisfaction (PR #141776)

Corentin Jabot via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 19 01:35:49 PDT 2025


================
@@ -116,6 +122,19 @@ void ConceptReference::print(llvm::raw_ostream &OS,
   }
 }
 
+const StreamingDiagnostic &clang::operator<<(const StreamingDiagnostic &DB,
+                                             const ConceptReference *C) {
+  std::string NameStr;
+  llvm::raw_string_ostream OS(NameStr);
+  LangOptions LO;
----------------
cor3ntin wrote:

Yeah, we do that in a couple of places to avoid that dependence - I agree about it being gnarly.

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


More information about the libcxx-commits mailing list