blob: 556a68a289ab54565783c85bfabb87e7309a9997 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- interpreter/llvm-project/clang/lib/Serialization/ASTWriter.cpp.orig 2024-01-11 19:51:52 UTC
+++ interpreter/llvm-project/clang/lib/Serialization/ASTWriter.cpp
@@ -2498,8 +2498,10 @@ unsigned ASTWriter::getSubmoduleID(Module *Mod) {
// did not result in us loading a module file for that submodule. For
// instance, a cross-top-level-module 'conflict' declaration will hit this.
unsigned ID = getLocalOrImportedSubmoduleID(Mod);
+ /*
assert((ID || !Mod) &&
"asked for module ID for non-local, non-imported module");
+ */
return ID;
}
|