[clang] [clang-tools-extra] [lldb] [clang] implement CWG1980 and CWG2064: instantiation-dependency improvements (PR #190495)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 21 00:48:45 PDT 2026


================
@@ -230,7 +230,7 @@ template <typename ContainerT>
 static bool containsExpr(ASTContext *Context, const ContainerT *Container,
                          const Expr *E) {
   llvm::FoldingSetNodeID ID;
-  E->Profile(ID, *Context, true);
+  E->Profile(ID, *Context, CanonicalizationKind::Structural);
----------------
ojhunt wrote:

yay, removing bool parameters will always make me happy

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


More information about the cfe-commits mailing list