[PATCH] D70063: clang/Modules: Error if ReadASTBlock does not find the main module

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 11 14:38:07 PST 2019


aprantl added a comment.

Do we want to bother with a testcase for this?



================
Comment at: clang/include/clang/Basic/DiagnosticSerializationKinds.td:78
+def err_module_file_missing_definition : Error<
+  "module file '%0' is missing the main module's definition">, DefaultFatal;
 
----------------
Should this be `AST file` like in the above error message?


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

https://reviews.llvm.org/D70063





More information about the cfe-commits mailing list