[clang] [clang][modules] Optimize construction and usage of the submodule index (PR #113391)
Jan Svoboda via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 28 12:29:31 PDT 2024
================
@@ -541,11 +541,14 @@ class ModuleMap {
///
/// \param IsExplicit Whether this is an explicit submodule.
///
- /// \returns The found or newly-created module, along with a boolean value
- /// that will be true if the module is newly-created.
- std::pair<Module *, bool> findOrCreateModule(StringRef Name, Module *Parent,
- bool IsFramework,
- bool IsExplicit);
+ /// \returns The found or newly-created module.
+ Module *findOrCreateModule(StringRef Name, Module *Parent, bool IsFramework,
----------------
jansvoboda11 wrote:
Thanks for the heads-up, I'll make a forward fix ASAP.
https://github.com/llvm/llvm-project/pull/113391
More information about the cfe-commits
mailing list