Skip to content

Instantly share code, notes, and snippets.

@ilya-biryukov
Created April 17, 2024 08:42
Show Gist options
  • Save ilya-biryukov/380d84dfe53f839f449231eb9a2dd46c to your computer and use it in GitHub Desktop.
Save ilya-biryukov/380d84dfe53f839f449231eb9a2dd46c to your computer and use it in GitHub Desktop.
(!) Please ignore the late-module-maps.cpp failure, it's expected.
Failed Tests (9):
Clang :: ClangScanDeps/modules-redefinition.m
Clang :: Modules/config-mismatch.cpp
Clang :: Modules/explicit-build-missing-files.cpp
Clang :: Modules/late-module-maps.cpp
Clang :: Modules/merge-decl-context.cpp
Clang :: Modules/merge-target-features.cpp
Clang :: Modules/module-imported-by-pch-with-modulemap.m
Clang :: Modules/shadow.m
Clang :: PCH/preamble-modules.cpp
********************
FAIL: Clang :: Modules/explicit-build-missing-files.cpp (716 of 21110)
******************** TEST 'Clang :: Modules/explicit-build-missing-files.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp
+ rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp
RUN: at line 2: mkdir /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp
+ mkdir /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp
RUN: at line 3: echo 'extern int a; template<typename T> int a2 = T::error;' > /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.h
+ echo 'extern int a; template<typename T> int a2 = T::error;'
RUN: at line 4: echo 'extern int b;' > /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/b.h
+ echo 'extern int b;'
RUN: at line 5: echo 'extern int c = 0;' > /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/c.h
+ echo 'extern int c = 0;'
RUN: at line 6: echo 'module a { module aa { header "a.h" header "b.h" header "c.h" } }' > /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/modulemap
+ echo 'module a { module aa { header "a.h" header "b.h" header "c.h" } }'
RUN: at line 7: echo 'module other {}' > /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/other.modulemap
+ echo 'module other {}'
RUN: at line 13: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -emit-module -fmodule-name=a -x c++ /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/modulemap -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/other.modulemap -fmodules-embed-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/modulemap -fmodules-embed-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/other.modulemap
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -emit-module -fmodule-name=a -x c++ /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/modulemap -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/other.modulemap -fmodules-embed-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/modulemap -fmodules-embed-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/other.modulemap
While building module 'a':
In file included from <module-includes>:3:
/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/c.h:1:12: warning: 'extern' variable has an initializer [-Wextern-initializer]
1 | extern int c = 0;
| ^
1 warning generated.
RUN: at line 16: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -emit-module -fmodule-name=a -x c++ /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/modulemap -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/b.pcm -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/other.modulemap -fmodules-embed-all-files
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -emit-module -fmodule-name=a -x c++ /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/modulemap -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/b.pcm -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/other.modulemap -fmodules-embed-all-files
While building module 'a':
In file included from <module-includes>:3:
/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/c.h:1:12: warning: 'extern' variable has an initializer [-Wextern-initializer]
1 | extern int c = 0;
| ^
1 warning generated.
RUN: at line 19: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
RUN: at line 20: not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp -DERRORS 2>&1 | /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
+ not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp -DERRORS
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
RUN: at line 21: mv /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/modulemap /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/modulemap.moved
+ mv /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/modulemap /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/modulemap.moved
RUN: at line 22: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
RUN: at line 23: not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp -DERRORS 2>&1 | /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
+ not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp -DERRORS
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
RUN: at line 24: rm /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/other.modulemap
+ rm /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/other.modulemap
RUN: at line 25: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
RUN: at line 26: not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp -DERRORS 2>&1 | /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
+ not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp -DERRORS
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
RUN: at line 27: sleep 1
+ sleep 1
RUN: at line 28: touch /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.h
+ touch /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.h
RUN: at line 29: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
RUN: at line 30: not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp -DERRORS 2>&1 | /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
+ not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp -DERRORS
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
RUN: at line 31: rm /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/b.h
+ rm /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/b.h
RUN: at line 32: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
RUN: at line 33: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/b.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/b.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
RUN: at line 34: not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp -DERRORS 2>&1 | /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp --check-prefix=MISSING-B
+ not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp -DERRORS
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp --check-prefix=MISSING-B
RUN: at line 35: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/modulemap.moved /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -I /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/modulemap.moved /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/explicit-build-missing-files.cpp
fatal error: malformed or corrupted AST file: 'could not find file '/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/b.h' referenced by AST file '/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/explicit-build-missing-files.cpp.tmp/a.pcm''
1 error generated.
--
********************
FAIL: Clang :: ClangScanDeps/modules-redefinition.m (3407 of 21110)
******************** TEST 'Clang :: ClangScanDeps/modules-redefinition.m' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 6: rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp
+ rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp
RUN: at line 7: split-file /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/ClangScanDeps/modules-redefinition.m /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp
+ split-file /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/ClangScanDeps/modules-redefinition.m /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp
RUN: at line 31: sed -e "s|DIR|/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp|g" /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp/cdb.json.template > /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp/cdb.json
+ sed -e 's|DIR|/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp|g' /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp/cdb.json.template
RUN: at line 32: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang-scan-deps -compilation-database /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp/cdb.json -format experimental-full > /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp/result.json
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang-scan-deps -compilation-database /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp/cdb.json -format experimental-full
Error while scanning dependencies for /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp/tu.m:
/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp/second/module.modulemap:1:8: error: redefinition of module 'X'
/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp/zeroth/module.modulemap:1:8: note: previously defined here
/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/ClangScanDeps/Output/modules-redefinition.m.tmp/tu.m:1:9: fatal error: could not build module 'first'
--
********************
FAIL: Clang :: Modules/merge-decl-context.cpp (4348 of 21110)
******************** TEST 'Clang :: Modules/merge-decl-context.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp
+ rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp
RUN: at line 3: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -x c++ -std=c++11 -fmodules -fimplicit-module-maps -fmodule-name=b -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/b.pcm -emit-module /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-context/merge-decl-context.modulemap -I/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs -I /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-context
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -x c++ -std=c++11 -fmodules -fimplicit-module-maps -fmodule-name=b -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/b.pcm -emit-module /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-context/merge-decl-context.modulemap -I/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs -I /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-context
RUN: at line 6: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -x c++ -std=c++11 -fmodules -fimplicit-module-maps -fmodule-name=c -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/c.pcm -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/b.pcm -fno-implicit-modules -emit-module /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-context/merge-decl-context.modulemap -I/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs -I /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-context
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -x c++ -std=c++11 -fmodules -fimplicit-module-maps -fmodule-name=c -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/c.pcm -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/b.pcm -fno-implicit-modules -emit-module /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-context/merge-decl-context.modulemap -I/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs -I /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-context
RUN: at line 10: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -x c++ -std=c++11 -fmodules -fimplicit-module-maps -fmodule-name=d -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/d.pcm -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/b.pcm -fno-implicit-modules -emit-module /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-context/merge-decl-context.modulemap -I/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs -I /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-context
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -x c++ -std=c++11 -fmodules -fimplicit-module-maps -fmodule-name=d -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/d.pcm -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/b.pcm -fno-implicit-modules -emit-module /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-context/merge-decl-context.modulemap -I/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs -I /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-context
RUN: at line 16: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -x c++ -std=c++11 -fmodules -fimplicit-module-maps -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/c.pcm -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/b.pcm -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/d.pcm -fno-implicit-modules -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-context/merge-decl-context.modulemap -I/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs -emit-llvm -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/test.o /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/merge-decl-context.cpp
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -x c++ -std=c++11 -fmodules -fimplicit-module-maps -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/c.pcm -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/b.pcm -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/d.pcm -fno-implicit-modules -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-context/merge-decl-context.modulemap -I/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs -emit-llvm -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/test.o /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/merge-decl-context.cpp
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A { header "A.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27890/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27401/module.modulemap:1:8: error: redefinition of module 'b'
1 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/objc-category-3/module.modulemap:1:8: error: redefinition of module 'X'
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/objc-category-2/module.modulemap:1:8: error: redefinition of module 'X'
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/ms-enums/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A { header "A.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/ms-enums/module.modulemap:2:8: error: redefinition of module 'B'
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/cxx-dtor/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/cxx-dtor/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/system-out-of-date/module.modulemap:1:8: error: redefinition of module 'X'
1 | module X [system] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/at-import-in-framework-header/module.modulemap:2:8: error: redefinition of module 'B'
2 | module B {}
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28752/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-ambiguity/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-ambiguity/module.modulemap:6:8: error: redefinition of module 'b'
6 | module b [system] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-ambiguity/module.modulemap:11:8: error: redefinition of module 'c'
11 | module c {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/using-decl-redecl/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/using-decl-redecl/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" export a }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/using-decl-redecl/module.modulemap:3:8: error: redefinition of module 'c'
3 | module c { header "c.h" export a export b }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/using-decl-redecl/module.modulemap:4:8: error: redefinition of module 'd'
4 | module d { header "d.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-ambiguity/module.modulemap:16:8: note: previously defined here
16 | module d [system] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/odr/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/odr/module.modulemap:4:8: error: redefinition of module 'b'
4 | module b {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/update-after-load/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" } module b { header "b.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/update-after-load/module.modulemap:1:34: error: redefinition of module 'b'
1 | module a { header "a.h" } module b { header "b.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/no-linkage/module.modulemap:1:8: error: redefinition of module 'M'
1 | module M { module E { header "empty.h" } module D { header "decls.h" } }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28794/module.modulemap:1:8: note: previously defined here
1 | module M {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/explicit-build/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/explicit-build/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/explicit-build/module.modulemap:3:8: error: redefinition of module 'c'
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/explicit-build/module.modulemap:4:8: error: redefinition of module 'd'
4 | module d { header "d.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-ambiguity/module.modulemap:16:8: note: previously defined here
16 | module d [system] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/Rmodule-import/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A { header "A.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/Rmodule-import/module.modulemap:2:8: error: redefinition of module 'B'
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-fn-prototype-tags/module.modulemap:1:8: error: redefinition of module 'M'
1 | module M {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28794/module.modulemap:1:8: note: previously defined here
1 | module M {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/include-relative/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/unavailable-local-visibility/module.modulemap:1:8: error: redefinition of module 'M'
1 | module M {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28794/module.modulemap:1:8: note: previously defined here
1 | module M {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/unavailable-local-visibility/module.modulemap:6:8: error: redefinition of module 'X'
6 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/modulemaps-nomodules/module.modulemap:1:8: error: redefinition of module 'M'
1 | module M {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28794/module.modulemap:1:8: note: previously defined here
1 | module M {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-implicit-special-members/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-implicit-special-members/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-implicit-special-members/module.modulemap:3:8: error: redefinition of module 'c'
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/SameHeader/module.modulemap:1:8: error: redefinition of module 'X'
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27699/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { umbrella "Subdir" module * {export *} }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/rec-types/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/rec-types/module.modulemap:6:8: error: redefinition of module 'b'
6 | module b {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/submodules/module.modulemap:1:8: error: redefinition of module 'std'
1 | module std {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/libstdcxx-ambiguous-internal/module.modulemap:1:8: note: previously defined here
1 | module std {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-template-members/module.modulemap:4:8: error: redefinition of module 'a1'
4 | module a1 { header "a1.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:2:8: note: previously defined here
2 | module "a1" { header "a1.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-template-members/module.modulemap:5:8: error: redefinition of module 'a2'
5 | module a2 { header "a2.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:3:8: note: previously defined here
3 | module "a2" { header "a2.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-template-members/module.modulemap:9:8: error: redefinition of module 'c'
9 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-masking/module.modulemap:1:8: error: redefinition of module 'X'
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-chain/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A { header "A.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-chain/module.modulemap:2:8: error: redefinition of module 'B'
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-chain/module.modulemap:3:8: error: redefinition of module 'C'
3 | module C { header "C.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/Rmodule-import/module.modulemap:3:8: note: previously defined here
3 | module C { header "C.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/objc-initializer/module.modulemap:1:8: error: redefinition of module 'X'
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/cxx-lookup/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/cxx-lookup/module.modulemap:2:8: error: redefinition of module 'B'
2 | module B { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/cxx-lookup/module.modulemap:3:8: error: redefinition of module 'C'
3 | module C {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/Rmodule-import/module.modulemap:3:8: note: previously defined here
3 | module C { header "C.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/cxx-lookup/module.modulemap:7:8: error: redefinition of module 'X'
7 | module X { header "x.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/cxx-lookup/module.modulemap:8:8: error: redefinition of module 'Y'
8 | module Y { header "y.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/system-out-of-date/module.modulemap:5:8: note: previously defined here
5 | module Y {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR26179/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR26179/module.modulemap:6:8: error: redefinition of module 'B'
6 | module B {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-undef-through-pch/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-reexport/module.modulemap:1:8: error: redefinition of module 'b'
1 | module b {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-reexport/module.modulemap:5:8: error: redefinition of module 'a'
5 | module a {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-reexport/module.modulemap:9:8: error: redefinition of module 'c'
9 | module c {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-reexport/module.modulemap:12:8: error: redefinition of module 'd'
12 | module d {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-ambiguity/module.modulemap:16:8: note: previously defined here
16 | module d [system] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-reexport/module.modulemap:16:8: error: redefinition of module 'e'
16 | module e {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-ambiguity/module.modulemap:21:8: note: previously defined here
21 | module e {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-anon-in-template/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-anon-in-template/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-anon-in-template/module.modulemap:3:8: error: redefinition of module 'c'
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/odr_hash-Unresolved/module.modulemap:1:8: error: redefinition of module 'Module1'
1 | module Module1 {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/odr_hash-Friend/module.modulemap:5:8: note: previously defined here
5 | module Module1 {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/odr_hash-Unresolved/module.modulemap:13:8: error: redefinition of module 'Module2'
13 | module Module2 {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/odr_hash-Friend/module.modulemap:9:8: note: previously defined here
9 | module Module2 {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/odr_hash-Unresolved/module.modulemap:18:8: error: redefinition of module 'Other'
18 | module Other {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:21:8: note: previously defined here
21 | module Other { textual header "textual4.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/redecl-found-building-chains/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/redecl-found-building-chains/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/redecl-found-building-chains/module.modulemap:3:8: error: redefinition of module 'c'
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/redecl-found-building-chains/module.modulemap:4:8: error: redefinition of module 'd'
4 | module d { header "d.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-ambiguity/module.modulemap:16:8: note: previously defined here
16 | module d [system] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27513/module.modulemap:1:8: error: redefinition of module 'c.h'
1 | module "c.h" {header "c.h" export *}
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28332/module.modulemap:1:8: note: previously defined here
1 | module "c.h" { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27513/module.modulemap:3:8: error: redefinition of module 'b.h'
3 | module "b.h" {header "b.h" export *}
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28332/module.modulemap:2:8: note: previously defined here
2 | module "b.h" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28812/module.modulemap:1:8: error: redefinition of module 'A'
1 | module "A" {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28812/module.modulemap:4:8: error: redefinition of module 'B'
4 | module "B" {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/redecl-templates/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A { header "a.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR21687/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR21687/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR21687/module.modulemap:3:8: error: redefinition of module 'c'
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/relative-import-path/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A { header "A.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/relative-import-path/module.modulemap:2:8: error: redefinition of module 'B'
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/relative-import-path/module.modulemap:3:8: error: redefinition of module 'C'
3 | module C { header "C.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/Rmodule-import/module.modulemap:3:8: note: previously defined here
3 | module C { header "C.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/missing-header-local-visibility/module.modulemap:1:8: error: redefinition of module 'M'
1 | module M {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28794/module.modulemap:1:8: note: previously defined here
1 | module M {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/multiple-include/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A { module a { header "a.h" } module b { header "b.h" } module c { header "c.h" } }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/multiple-include/module.modulemap:2:8: error: redefinition of module 'X'
2 | module X { module x { header "x.h" } module c { header "c.h" } }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/exclude-header/module.modulemap:1:8: error: redefinition of module 'x'
1 | module x { umbrella "x" exclude header "x/bad.h" module * {} }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/submodule-visibility/module.modulemap:1:8: note: previously defined here
1 | module x { module a { header "a.h" } module b { header "b.h" } }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-typedefs/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-typedefs/module.modulemap:6:8: error: redefinition of module 'B'
6 | module B {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/wildcard-submodule-exports/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/wildcard-submodule-exports/module.modulemap:6:8: error: redefinition of module 'B'
6 | module B {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/wildcard-submodule-exports/module.modulemap:11:8: error: redefinition of module 'C'
11 | module C {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/Rmodule-import/module.modulemap:3:8: note: previously defined here
3 | module C { header "C.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR31469/module.modulemap:1:8: error: redefinition of module 'M'
1 | module M {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28794/module.modulemap:1:8: note: previously defined here
1 | module M {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/objc-category/module.modulemap:1:8: error: redefinition of module 'X'
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-template-pattern-visibility/module.modulemap:1:8: error: redefinition of module 'X'
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-template-pattern-visibility/module.modulemap:5:8: error: redefinition of module 'Y'
5 | module Y {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/system-out-of-date/module.modulemap:5:8: note: previously defined here
5 | module Y {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/anon-redecl/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/anon-redecl/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/anon-redecl/module.modulemap:3:8: error: redefinition of module 'c'
3 | module c {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/invalidate-identifiers/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/invalidate-identifiers/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/cxx20/module.modulemap:1:8: error: redefinition of module 'Decls'
1 | module Decls {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/cxx17/module.modulemap:1:8: note: previously defined here
1 | module Decls {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/lookup-assert/module.modulemap:1:8: error: redefinition of module 'X'
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-var-template-def/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-var-template-def/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/template-default-args/module.modulemap:1:8: error: redefinition of module 'X'
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/template-default-args/module.modulemap:6:8: error: redefinition of module 'Y'
6 | module Y {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/system-out-of-date/module.modulemap:5:8: note: previously defined here
5 | module Y {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/self-referencing-lambda/module.modulemap:1:8: error: redefinition of module 'a.h'
1 | module "a.h" {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28332/module.modulemap:3:8: note: previously defined here
3 | module "a.h" { header "a.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/static_assert/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/overloadable-attrs/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/update-exception-spec/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/update-exception-spec/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/update-exception-spec/module.modulemap:3:8: error: redefinition of module 'c'
3 | module c { header "c.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/module-map-path-hash/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/unnecessary-module-map-parsing/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27041/module.modulemap:1:8: error: redefinition of module 'Rtypes.h'
1 | module "Rtypes.h" { header "Rtypes.h" header "TGenericClassInfo.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:1:8: note: previously defined here
1 | module "Rtypes.h" { header "Rtypes.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-lifetime-extended-temporary/module.modulemap:1:8: error: redefinition of module 'a'
1 | module "a" {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-lifetime-extended-temporary/module.modulemap:6:8: error: redefinition of module 'b'
6 | module "b" {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-lifetime-extended-temporary/module.modulemap:11:8: error: redefinition of module 'c'
11 | module "c" {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/lookup-assert-protocol/module.modulemap:1:8: error: redefinition of module 'X'
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-dependent-friends/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-dependent-friends/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-dependent-friends/module.modulemap:3:8: error: redefinition of module 'c'
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-dependent-friends/module.modulemap:4:8: error: redefinition of module 'd'
4 | module d { header "d.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-ambiguity/module.modulemap:16:8: note: previously defined here
16 | module d [system] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28438/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28438/module.modulemap:2:8: error: redefinition of module 'B'
2 | module B { module B1 { header "b1.h" export * } module B2 { header "b2.h" export * } }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-template-specializations/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-template-specializations/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-template-specializations/module.modulemap:3:8: error: redefinition of module 'c'
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/odr_hash-elaborated-types/module.modulemap:1:8: error: redefinition of module 'M'
1 | module M {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28794/module.modulemap:1:8: note: previously defined here
1 | module M {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/malformed-overload/module.modulemap:1:8: error: redefinition of module 'X'
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-using-decls/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A { header "a.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-using-decls/module.modulemap:2:8: error: redefinition of module 'B'
2 | module B { header "b.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR26014/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR26014/module.modulemap:6:8: error: redefinition of module 'B'
6 | module B {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-target-features/module.modulemap:1:8: error: redefinition of module 'foo'
1 | module foo { header "Inputs/merge-target-features/foo.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/getSourceDescriptor-crash/module.modulemap:1:8: note: previously defined here
1 | module foo {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/autoload-subdirectory/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/autoload-subdirectory/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/autoload-subdirectory/module.modulemap:3:8: error: redefinition of module 'c'
3 | module c { header "c.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-template-friend/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "friend.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-template-friend/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "def.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/UseAfterFree/module.private.modulemap:1:8: warning: expected canonical name for private module 'UseAfterFreePrivate' [-Wprivate-module]
1 | module UseAfterFreePrivate {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/UseAfterFree/module.private.modulemap:1:8: note: rename 'UseAfterFreePrivate' to ensure it can be found by name
1 | module UseAfterFreePrivate {
| ^~~~~~~~~~~~~~~~~~~
| UseAfterFreePublic_Private
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-name-for-linkage/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-name-for-linkage/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-name-for-linkage/module.modulemap:3:8: error: redefinition of module 'c'
3 | module c { module c1 { header "c1.h" export * } module c2 { header "c2.h" export * } }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/asm-goto/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/set-pure-crash/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/set-pure-crash/module.modulemap:5:8: error: redefinition of module 'b'
5 | module b {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/set-pure-crash/module.modulemap:9:8: error: redefinition of module 'c'
9 | module c {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/thread-safety/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/thread-safety/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/thread-safety/module.modulemap:3:8: error: redefinition of module 'c'
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/DebugInfoNamespace/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/DebugInfoNamespace/module.modulemap:5:8: error: redefinition of module 'B'
5 | module B {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/internal-constants/module.modulemap:1:8: error: redefinition of module 'X'
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/suggest-include/module.modulemap:1:8: note: previously defined here
1 | module X {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR24954/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR24954/module.modulemap:6:8: error: redefinition of module 'B'
6 | module B {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/deferred-lookup/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/deferred-lookup/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/inherit-attribute/module.modulemap:1:8: error: redefinition of module 'b'
1 | module "b" { header "b.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/inherit-attribute/module.modulemap:3:8: error: redefinition of module 'c'
3 | module "c" { header "c.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-hiding/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-hiding/module.modulemap:5:8: error: redefinition of module 'b'
5 | module b {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-hiding/module.modulemap:9:8: error: redefinition of module 'c'
9 | module c {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-hiding/module.modulemap:12:8: error: redefinition of module 'd'
12 | module d {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-ambiguity/module.modulemap:16:8: note: previously defined here
16 | module d [system] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-hiding/module.modulemap:15:8: error: redefinition of module 'e'
15 | module e {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/macro-ambiguity/module.modulemap:21:8: note: previously defined here
21 | module e {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/anon-namespace/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/anon-namespace/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { module b1 { header "b1.h" export * } module b2 { header "b2.h" export * } }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/anon-namespace/module.modulemap:3:8: error: redefinition of module 'c'
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/redecls/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/redecls/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/lsv-debuginfo/module.modulemap:1:8: error: redefinition of module 'A'
1 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/lsv-debuginfo/module.modulemap:4:8: error: redefinition of module 'B'
4 | module B {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/implicit-invalidate-common/module.modulemap:2:8: note: previously defined here
2 | module B { header "B.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/lsv-debuginfo/module.modulemap:7:8: error: redefinition of module 'C'
7 | module C {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/Rmodule-import/module.modulemap:3:8: note: previously defined here
3 | module C { header "C.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-order/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-decl-order/module.modulemap:2:8: error: redefinition of module 'b'
2 | module b { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/module.modulemap:4:8: note: previously defined here
4 | module "b" { header "b.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/malformed/module.modulemap:9:8: error: redefinition of module 'c'
9 | module c { header "c.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap:3:8: note: previously defined here
3 | module c { header "c.h" export * }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/explicit-build-diags/module.modulemap:1:8: error: redefinition of module 'a'
1 | module a { header "a.h" }
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR27186/module.modulemap:2:8: note: previously defined here
2 | module a [extern_c] {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/objc-desig-init/module.modulemap:6:8: error: redefinition of module 'A'
6 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/class-extension/module.modulemap:2:8: note: previously defined here
2 | module A {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR21547/module.modulemap:1:8: error: redefinition of module 'M'
1 | module M {
| ^
/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR28794/module.modulemap:1:8: note: previously defined here
1 | module M {
| ^
fatal error: malformed or corrupted AST file: 'could not find file '/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/PR25501/a.h' referenced by AST file '/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-decl-context.cpp.tmp/b.pcm''
1 warning and 184 errors generated.
--
********************
FAIL: Clang :: Modules/merge-target-features.cpp (5267 of 21110)
******************** TEST 'Clang :: Modules/merge-target-features.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-target-features.cpp.tmp
+ rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-target-features.cpp.tmp
RUN: at line 2: cd /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules
+ cd /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules
RUN: at line 4: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -x c++ -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-target-features.cpp.tmp -iquote Inputs/merge-target-features -fno-implicit-modules -fmodule-map-file-home-is-cwd -emit-module -fmodule-name=foo -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-target-features.cpp.tmp/foo.pcm -triple i386-unknown-unknown -target-cpu i386 -target-feature +sse2 Inputs/merge-target-features/module.modulemap
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -x c++ -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-target-features.cpp.tmp -iquote Inputs/merge-target-features -fno-implicit-modules -fmodule-map-file-home-is-cwd -emit-module -fmodule-name=foo -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-target-features.cpp.tmp/foo.pcm -triple i386-unknown-unknown -target-cpu i386 -target-feature +sse2 Inputs/merge-target-features/module.modulemap
RUN: at line 13: not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -x c++ -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-target-features.cpp.tmp -iquote Inputs/merge-target-features -fno-implicit-modules -fmodule-map-file-home-is-cwd -fmodule-map-file=Inputs/merge-target-features/module.modulemap -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-target-features.cpp.tmp/foo.pcm -triple i386-unknown-unknown -target-cpu i386 -fsyntax-only merge-target-features.cpp 2>&1 | /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck --check-prefix=SUBSET --implicit-check-not=error: /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/merge-target-features.cpp
+ not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -x c++ -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-target-features.cpp.tmp -iquote Inputs/merge-target-features -fno-implicit-modules -fmodule-map-file-home-is-cwd -fmodule-map-file=Inputs/merge-target-features/module.modulemap -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-target-features.cpp.tmp/foo.pcm -triple i386-unknown-unknown -target-cpu i386 -fsyntax-only merge-target-features.cpp
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck --check-prefix=SUBSET --implicit-check-not=error: /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/merge-target-features.cpp
command line:1:22: error: IMPLICIT-CHECK-NOT: excluded string found in input
-implicit-check-not='error:'
^
<stdin>:3:40: note: found here
merge-target-features.cpp:64:10: fatal error: module 'foo' is needed but has not been provided, and implicit use of module files is disabled
^~~~~~
Input file: <stdin>
Check file: /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/merge-target-features.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: error: AST file was compiled with the target feature '+sse2' but the current translation unit is not
2: error: module file /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/merge-target-features.cpp.tmp/foo.pcm cannot be loaded due to a configuration mismatch with the current compilation [-Wmodule-file-config-mismatch]
3: merge-target-features.cpp:64:10: fatal error: module 'foo' is needed but has not been provided, and implicit use of module files is disabled
not:imp1 !~~~~~ error: no match expected
4: 64 | #include "foo.h"
5: | ^
6: 3 errors generated.
>>>>>>
--
********************
FAIL: Clang :: Modules/shadow.m (7012 of 21110)
******************** TEST 'Clang :: Modules/shadow.m' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/shadow.m.tmp
+ rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/shadow.m.tmp
RUN: at line 2: not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fimplicit-module-maps -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/shadow.m.tmp -I /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow/A1 -I /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow/A2 /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/shadow.m -fsyntax-only 2>&1 | /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/shadow.m -check-prefix=REDEFINITION
+ not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fimplicit-module-maps -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/shadow.m.tmp -I /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow/A1 -I /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow/A2 /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/shadow.m -fsyntax-only
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/shadow.m -check-prefix=REDEFINITION
RUN: at line 3: not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fimplicit-module-maps -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/shadow.m.tmp -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow/A1/module.modulemap -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow/A2/module.modulemap /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/shadow.m -fsyntax-only 2>&1 | /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/shadow.m -check-prefix=REDEFINITION
+ not /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fimplicit-module-maps -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/shadow.m.tmp -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow/A1/module.modulemap -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow/A2/module.modulemap /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/shadow.m -fsyntax-only
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/shadow.m -check-prefix=REDEFINITION
RUN: at line 7: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fimplicit-module-maps -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/shadow.m.tmp -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow/A1/module.modulemap -I /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/shadow.m -verify
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fimplicit-module-maps -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/shadow.m.tmp -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow/A1/module.modulemap -I /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/shadow.m -verify
error: 'expected-error' diagnostics expected but not seen:
File /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow/A2/module.modulemap Line 1 (directive at /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/shadow.m:14): import of shadowed module 'A'
error: 'expected-error' diagnostics seen but not expected:
File /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow/A2/module.modulemap Line 1: redefinition of module 'A'
File /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/shadow.m Line 18: got the wrong definition of module A
error: 'expected-note' diagnostics expected but not seen:
File /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/shadow.m Line 13: implicitly imported
File /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow/A1/module.modulemap Line 1 (directive at /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/shadow.m:15): previous definition
error: 'expected-note' diagnostics seen but not expected:
File /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/Inputs/shadow/A1/module.modulemap Line 1: previously defined here
6 errors generated.
--
********************
FAIL: Clang :: Modules/config-mismatch.cpp (7805 of 21110)
******************** TEST 'Clang :: Modules/config-mismatch.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp
+ rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp
RUN: at line 2: mkdir /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp
+ mkdir /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp
RUN: at line 3: echo 'module M { header "foo.h" header "bar.h" }' > /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp/map
+ echo 'module M { header "foo.h" header "bar.h" }'
RUN: at line 4: echo 'template<typename T> void f(T t) { int n; t.f(n); }' > /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp/foo.h
+ echo 'template<typename T> void f(T t) { int n; t.f(n); }'
RUN: at line 5: touch /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp/bar.h
+ touch /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp/bar.h
RUN: at line 6: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fmodules-local-submodule-visibility -x c++ /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp/map -emit-module -fmodule-name=M -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp/pcm
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fmodules-local-submodule-visibility -x c++ /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp/map -emit-module -fmodule-name=M -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp/pcm
RUN: at line 7: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fmodules-local-submodule-visibility -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp/map -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp/pcm -I/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/config-mismatch.cpp -fsyntax-only -fexceptions -Wno-module-file-config-mismatch -verify
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fmodules-local-submodule-visibility -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp/map -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp/pcm -I/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/config-mismatch.cpp.tmp /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/config-mismatch.cpp -fsyntax-only -fexceptions -Wno-module-file-config-mismatch -verify
error: 'expected-error' diagnostics expected but not seen:
File /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/config-mismatch.cpp Line 12: redundant #include of module 'M' appears within namespace
error: 'expected-error' diagnostics seen but not expected:
File /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/config-mismatch.cpp Line 10: module 'M' is needed but has not been provided, and implicit use of module files is disabled
error: 'expected-note' diagnostics expected but not seen:
File /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/config-mismatch.cpp Line 11: begins here
3 errors generated.
--
********************
FAIL: Clang :: Modules/late-module-maps.cpp (8023 of 21110)
******************** TEST 'Clang :: Modules/late-module-maps.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp
+ rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp
RUN: at line 2: split-file /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/late-module-maps.cpp /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp
+ split-file /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/late-module-maps.cpp /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp
RUN: at line 8: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fno-implicit-modules -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/base.modulemap -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/a.modulemap -fmodule-name=a -xc++ -emit-module -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/a.modulemap
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fno-implicit-modules -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/base.modulemap -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/a.modulemap -fmodule-name=a -xc++ -emit-module -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/a.pcm /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/a.modulemap
RUN: at line 12: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fno-implicit-modules -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/base.modulemap -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/a.modulemap -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/b.modulemap -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/a.pcm -fmodule-name=b -xc++ -emit-module -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/b.pcm /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/b.modulemap
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fno-implicit-modules -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/base.modulemap -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/a.modulemap -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/b.modulemap -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/a.pcm -fmodule-name=b -xc++ -emit-module -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/b.pcm /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/b.modulemap
RUN: at line 17: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fno-implicit-modules -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/base.modulemap -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/a.modulemap -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/b.modulemap -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/a.pcm -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/b.pcm -fsyntax-only -print-stats /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/use.cpp 2>&1 | /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/use.cpp
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fmodules -fno-implicit-modules -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/base.modulemap -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/a.modulemap -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/b.modulemap -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/a.pcm -fmodule-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/b.pcm -fsyntax-only -print-stats /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/use.cpp
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/FileCheck /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/use.cpp
/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/use.cpp:7:11: error: CHECK: expected string not found in input
// CHECK: 7 local SLocEntries
^
<stdin>:216:26: note: scanning from here
*** Source Manager Stats:
^
<stdin>:218:1: note: possible intended match here
4 local SLocEntries allocated (168 bytes of capacity), 15162B of SLoc address space used.
^
Input file: <stdin>
Check file: /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/late-module-maps.cpp.tmp/use.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
211: 1 #include/#include_next/#import.
212: 0 #includes skipped due to the multi-include optimization.
213: 0 framework lookups.
214: 0 subframework lookups.
215:
216: *** Source Manager Stats:
check:7'0 X error: no match found
217: 7 files mapped, 5 mem buffers mapped.
check:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
218: 4 local SLocEntries allocated (168 bytes of capacity), 15162B of SLoc address space used.
check:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:7'1 ? possible intended match
219: 11 loaded SLocEntries allocated (1008 bytes of capacity), 29301B of SLoc address space used.
check:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220: 842 bytes of files mapped, 1 files with line #'s computed, 0 files with macro args computed.
check:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221: FileID scans: 3 linear, 0 binary.
check:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222:
check:7'0 ~
223:
check:7'0 ~
.
.
.
>>>>>>
--
********************
FAIL: Clang :: Modules/module-imported-by-pch-with-modulemap.m (8920 of 21110)
******************** TEST 'Clang :: Modules/module-imported-by-pch-with-modulemap.m' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.cache
+ rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.cache
RUN: at line 2: mkdir -p /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/folder-with-modulemap /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/pch-folder
+ mkdir -p /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/folder-with-modulemap /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/pch-folder
RUN: at line 3: echo '#import "folder-with-modulemap/included.h"' > /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/header.h
+ echo '#import "folder-with-modulemap/included.h"'
RUN: at line 4: echo 'extern int MyModuleVersion;' > /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/folder-with-modulemap/MyModule.h
+ echo 'extern int MyModuleVersion;'
RUN: at line 5: echo '@import MyModule;' > /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/folder-with-modulemap/included.h
+ echo '@import MyModule;'
RUN: at line 6: echo 'module MyModule { header "MyModule.h" }' > /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/folder-with-modulemap/MyModule.modulemap
+ echo 'module MyModule { header "MyModule.h" }'
RUN: at line 8: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -emit-pch -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/pch-folder/header.pch -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/folder-with-modulemap/MyModule.modulemap -x objective-c-header -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.cache -fmodules -fimplicit-module-maps /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/header.h
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -emit-pch -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/pch-folder/header.pch -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/folder-with-modulemap/MyModule.modulemap -x objective-c-header -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.cache -fmodules -fimplicit-module-maps /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/header.h
RUN: at line 9: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fsyntax-only -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/folder-with-modulemap/MyModule.modulemap -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.cache -fmodules -fimplicit-module-maps /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/module-imported-by-pch-with-modulemap.m -include-pch /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/pch-folder/header.pch -verify
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -fsyntax-only -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/folder-with-modulemap/MyModule.modulemap -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.cache -fmodules -fimplicit-module-maps /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/Modules/module-imported-by-pch-with-modulemap.m -include-pch /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/pch-folder/header.pch -verify
error: no expected directives found: consider use of 'expected-no-diagnostics'
error: 'expected-error' diagnostics seen but not expected:
(frontend): module 'MyModule' in AST file '/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.cache/2YGYJKU6XYZJN/MyModule-2AFOG9OR3GFFB.pcm' (imported by AST file '/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/pch-folder/header.pch') is not defined in any loaded module map file; maybe you need to load '/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/folder-with-modulemap/MyModule.modulemap'?
error: 'expected-note' diagnostics seen but not expected:
(frontend): consider adding '/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/folder-with-modulemap' to the header search path
(frontend): imported by '/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/Modules/Output/module-imported-by-pch-with-modulemap.m.tmp.dst/pch-folder/header.pch'
4 errors generated.
--
********************
FAIL: Clang :: PCH/preamble-modules.cpp (9202 of 21110)
******************** TEST 'Clang :: PCH/preamble-modules.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 4: rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/PCH/Output/preamble-modules.cpp.tmp.mcp
+ rm -rf /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/PCH/Output/preamble-modules.cpp.tmp.mcp
RUN: at line 5: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -emit-pch -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/PCH/Output/preamble-modules.cpp.tmp.pch /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/PCH/preamble-modules.cpp -fmodules -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/PCH/Inputs/modules/module.modulemap -fmodules-local-submodule-visibility -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/PCH/Output/preamble-modules.cpp.tmp.mcp
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -emit-pch -o /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/PCH/Output/preamble-modules.cpp.tmp.pch /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/PCH/preamble-modules.cpp -fmodules -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/PCH/Inputs/modules/module.modulemap -fmodules-local-submodule-visibility -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/PCH/Output/preamble-modules.cpp.tmp.mcp
RUN: at line 6: /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -include-pch /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/PCH/Output/preamble-modules.cpp.tmp.pch /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/PCH/preamble-modules.cpp -fmodules -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/PCH/Inputs/modules/module.modulemap -fmodules-local-submodule-visibility -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/PCH/Output/preamble-modules.cpp.tmp.mcp
+ /usr/local/google/home/ibiryukov/code/llvm-project/build/bin/clang -cc1 -internal-isystem /usr/local/google/home/ibiryukov/code/llvm-project/build/lib/clang/19/include -nostdsysteminc -include-pch /usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/PCH/Output/preamble-modules.cpp.tmp.pch /usr/local/google/home/ibiryukov/code/llvm-project/clang/test/PCH/preamble-modules.cpp -fmodules -fmodule-map-file=/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/PCH/Inputs/modules/module.modulemap -fmodules-local-submodule-visibility -fmodules-cache-path=/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/PCH/Output/preamble-modules.cpp.tmp.mcp
fatal error: module 'Foo' in AST file '/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/PCH/Output/preamble-modules.cpp.tmp.mcp/CXF5XK4K83QJ/Foo-CBB0IYN5VBUN.pcm' (imported by AST file '/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/PCH/Output/preamble-modules.cpp.tmp.pch') is not defined in any loaded module map file; maybe you need to load '/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/PCH/Inputs/modules/module.modulemap'?
note: consider adding '/usr/local/google/home/ibiryukov/code/llvm-project/clang/test/PCH/Inputs/modules' to the header search path
note: imported by '/usr/local/google/home/ibiryukov/code/llvm-project/build/tools/clang/test/PCH/Output/preamble-modules.cpp.tmp.pch'
1 error generated.
--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment