[clang] [clang][modules] Print library module manifest path. (PR #76451)

Mark de Wever via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 27 09:12:10 PST 2023


================
@@ -602,6 +602,16 @@ class Driver {
   // FIXME: This should be in CompilationInfo.
   std::string GetProgramPath(StringRef Name, const ToolChain &TC) const;
 
+  /// GetModuleManifestPath - Lookup the name of the Standard library manifest.
+  ///
+  /// \param C - The compilation.
+  /// \param TC - The tool chain for additional information on
+  /// directories to search.
+  //
+  // FIXME: This should be in CompilationInfo.
+  std::string GetModuleManifestPath(const Compilation &C,
----------------
mordante wrote:

That is an option, I could do `<NOT FOUND>` or something like that. I'm not sure what the tool vendors prefer. A magic string or an empty string.

https://github.com/llvm/llvm-project/pull/76451


More information about the cfe-commits mailing list