]> granicus.if.org Git - clang/blobdiff - include/clang/Basic/Module.h
[Modules] Add Darwin-specific compatibility module map parsing hacks
[clang] / include / clang / Basic / Module.h
index 1bc89257d38468dcc7a215118e08e5a5698de704..e3060456dfb22dfbd1a2275d6d2e6b0be104f316 100644 (file)
@@ -356,6 +356,12 @@ public:
   /// its top-level module.
   std::string getFullModuleName() const;
 
+  /// \brief Whether the full name of this module is equal to joining
+  /// \p nameParts with "."s.
+  ///
+  /// This is more efficient than getFullModuleName().
+  bool fullModuleNameIs(ArrayRef<StringRef> nameParts) const;
+
   /// \brief Retrieve the top-level module for this (sub)module, which may
   /// be this module.
   Module *getTopLevelModule() {