[PATCH] D150001: [clang] Fix initializer_list matching failures with modules

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 8 00:54:58 PDT 2023


hans added a comment.

Nice!



================
Comment at: clang/lib/Sema/SemaDeclCXX.cpp:11570
     getStdNamespace()->setImplicit(true);
+    Context.getTranslationUnitDecl()->addDecl(getStdNamespace());
+    getStdNamespace()->clearIdentifierNamespace();
----------------
This could use an explanatory comment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150001/new/

https://reviews.llvm.org/D150001



More information about the cfe-commits mailing list