[PATCH] D115610: [C++20] [Modules] Don't create multiple global module fragment

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 25 05:55:49 PST 2022


tbaeder added inline comments.


================
Comment at: clang/include/clang/Sema/Sema.h:2217
+  /// The gloabl module fragment of the current tranlation unit.
+  clang::Module *GlobalModuleFragmentCache = nullptr;
 
----------------
Typos in "gloabl" and "tranlation" in the comment. Any reason to call this a "cache"? This was confusing to me at first.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115610



More information about the cfe-commits mailing list