[clang] [clang] Move the diagnostic of unexpected token after module name from phase 4 to phase 7 (PR #187846)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 21 10:16:36 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick` running on `linaro-clang-aarch64-quick` while building `clang` at step 5 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/65/builds/39230
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'Clang :: Modules/GH204633.cppm' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
rm -rf /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/GH204633.cppm.tmp
# executed command: rm -rf /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/GH204633.cppm.tmp
# RUN: at line 2
split-file /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/Modules/GH204633.cppm /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/GH204633.cppm.tmp
# executed command: split-file /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/Modules/GH204633.cppm /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/GH204633.cppm.tmp
# RUN: at line 3
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/24/include -nostdsysteminc -std=c++26 -triple x86_64-pc-win32 -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/GH204633.cppm.tmp -fmodule-map-file=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/GH204633.cppm.tmp/original.cppm -verify /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/GH204633.cppm.tmp/original.cppm
# executed command: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/24/include -nostdsysteminc -std=c++26 -triple x86_64-pc-win32 -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/GH204633.cppm.tmp -fmodule-map-file=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/GH204633.cppm.tmp/original.cppm -verify /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/GH204633.cppm.tmp/original.cppm
# .---command stderr------------
# | error: 'expected-error' diagnostics expected but not seen:
# | File /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/GH204633.cppm.tmp/original.cppm Line 4 (directive at /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/GH204633.cppm.tmp/original.cppm:1): unexpected preprocessing token '{' after module name
# | error: 'expected-error' diagnostics seen but not expected:
# | File /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/GH204633.cppm.tmp/original.cppm Line 4: unexpected '{' after module name, only ';' and '[' (start of attribute specifier sequence) are allowed
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/187846
More information about the cfe-commits
mailing list