[PATCH] D118598: [C++20][Modules][7/8] Find the primary interface name for a module.
Nathan Sidwell via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 16 08:39:57 PST 2022
urnathan added inline comments.
================
Comment at: clang/include/clang/Basic/Module.h:522
+
+ std::string getPrimaryModuleInterfaceName() const {
+ std::string::size_type pos = Name.find(':');
----------------
Is it possible to return a StringRef rather than a copy?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118598/new/
https://reviews.llvm.org/D118598
More information about the cfe-commits
mailing list