github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 2989 tests passed
* 30 tests skipped
* 8 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang Tools
<details>
<summary>Clang
Tools.clang-tidy/checkers/misc/use-internal-linkage-consteval.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
C:/Python312/python.exe
C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py
-std=c++20
C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc\use-internal-linkage-consteval.cpp
misc-use-internal-linkage
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-consteval.cpp.tmp
-- --
-IC:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc/Inputs/use-internal-linkage
# executed command: C:/Python312/python.exe
'C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py'
-std=c++20
'C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc\use-internal-linkage-consteval.cpp'
misc-use-internal-linkage
'C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-consteval.cpp.tmp'
-- --
'-IC:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc/Inputs/use-internal-linkage'
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks',
'C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\misc\\Output\\use-internal-linkage-consteval.cpp.tmp.cpp',
'-fix', '--checks=-*,misc-use-internal-linkage', '--config={}', '--',
'-IC:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\misc/Inputs/use-internal-linkage',
'-std=c++20', '-nostdinc++']...
# | clang-tidy --experimental-custom-checks
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-consteval.cpp.tmp.cpp
-fix --checks=-*,misc-use-internal-linkage --config={} --
-IC:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc/Inputs/use-internal-linkage
-std=c++20 -nostdinc++ failed:
# | Assertion failed: isDigit(*DiagStr) && "Invalid format for argument in
diagnostic", file
C:\_work\llvm-project\llvm-project\clang\lib\Basic\Diagnostic.cpp, line 1158
# |
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/
and include the crash backtrace and instructions to reproduce the bug.
# |
# | Stack dump:
# |
# | 0. Program arguments: clang-tidy --experimental-custom-checks
C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\misc\\Output\\use-internal-linkage-consteval.cpp.tmp.cpp
-fix --checks=-*,misc-use-internal-linkage --config={} --
-IC:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\misc/Inputs/use-internal-linkage
-std=c++20 -nostdinc++
# |
# | 1. <eof> parser at end of file
# |
# | 2. ASTMatcher: Processing 'misc-use-internal-linkage' against:
# |
# | FunctionDecl cxf :
<C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-consteval.cpp.tmp.cpp:5:1,
col:23>
# |
# | --- Bound Nodes Begin ---
# |
# | fn - { FunctionDecl cxf :
<C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-consteval.cpp.tmp.cpp:5:1,
col:23> }
# |
# | --- Bound Nodes End ---
# |
# | Exception Code: 0xC000001D
# |
# | #0 0x00007ff7498f82b6
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3182b6)
# |
# | #1 0x00007ff828b5bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |
# | #2 0x00007ff828b5cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |
# | #3 0x00007ff828b5e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |
# | #4 0x00007ff828b5e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |
# | #5 0x00007ff74999b129
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3bb129)
# |
# | #6 0x00007ff74999ad5e
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3bad5e)
# |
# | #7 0x00007ff74966e7b1
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x8e7b1)
# |
# | #8 0x00007ff74999a86d
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3ba86d)
# |
# | #9 0x00007ff749659580
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x79580)
# |
# | #10 0x00007ff74a1bfa6b
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0xbdfa6b)
# |
# | #11 0x00007ff749964033
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x384033)
# |
# | #12 0x00007ff74a4635ab
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0xe835ab)
# |
# | #13 0x00007ff749963334
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x383334)
# |
# | #14 0x00007ff7499659c4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3859c4)
# |
# | #15 0x00007ff7499663db
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3863db)
# |
# | #16 0x00007ff7499659ea
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3859ea)
# |
# | #17 0x00007ff74993b84d
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x35b84d)
# |
# | #18 0x00007ff7499938ac
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3b38ac)
# |
# | #19 0x00007ff74aa09cc7
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x1429cc7)
# |
# | #20 0x00007ff749a04eaf
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x424eaf)
# |
# | #21 0x00007ff74a67efe4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x109efe4)
# |
# | #22 0x00007ff7499a2038
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c2038)
# |
# | #23 0x00007ff74965930a
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x7930a)
# |
# | #24 0x00007ff7499a1eb0
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c1eb0)
# |
# | #25 0x00007ff7499a080d
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c080d)
# |
# | #26 0x00007ff7499a4799
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c4799)
# |
# | #27 0x00007ff749651a90
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x71a90)
# |
# | #28 0x00007ff7495e68a4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x68a4)
# |
# | #29 0x00007ff74ca5e3b4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x347e3b4)
# |
# | #30 0x00007ff82d9d4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# |
# | #31 0x00007ff83963edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# |
# |
# `-----------------------------
# .---command stderr------------
# | Traceback (most recent call last):
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 413, in <module>
# | main()
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 409, in main
# | CheckRunner(args, extra_args).run()
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 307, in run
# | clang_tidy_output = self.run_clang_tidy()
# | ^^^^^^^^^^^^^^^^^^^^^
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 232, in run_clang_tidy
# | clang_tidy_output = try_run(args)
# | ^^^^^^^^^^^^^
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 63, in try_run
# | process_output = subprocess.check_output(args,
stderr=subprocess.STDOUT).decode(
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "c:\python312\Lib\subprocess.py", line 466, in check_output
# | return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "c:\python312\Lib\subprocess.py", line 571, in run
# | raise CalledProcessError(retcode, process.args,
# | subprocess.CalledProcessError: Command '['clang-tidy',
'--experimental-custom-checks',
'C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\misc\\Output\\use-internal-linkage-consteval.cpp.tmp.cpp',
'-fix', '--checks=-*,misc-use-internal-linkage', '--config={}', '--',
'-IC:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\misc/Inputs/use-internal-linkage',
'-std=c++20', '-nostdinc++']' returned non-zero exit status 3221225501.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang
Tools.clang-tidy/checkers/misc/use-internal-linkage-fix-mode-none.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
C:/Python312/python.exe
C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py
C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc\use-internal-linkage-fix-mode-none.cpp
misc-use-internal-linkage
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-fix-mode-none.cpp.tmp
-- -config="{CheckOptions: {misc-use-internal-linkage.FixMode: 'None'}}"
--
-IC:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc/Inputs/use-internal-linkage
# executed command: C:/Python312/python.exe
'C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py'
'C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc\use-internal-linkage-fix-mode-none.cpp'
misc-use-internal-linkage
'C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-fix-mode-none.cpp.tmp'
-- '-config={CheckOptions: {misc-use-internal-linkage.FixMode:
'"'"'None'"'"'}}' --
'-IC:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc/Inputs/use-internal-linkage'
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks',
'C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\misc\\Output\\use-internal-linkage-fix-mode-none.cpp.tmp.cpp',
'-fix', '--checks=-*,misc-use-internal-linkage', "-config={CheckOptions:
{misc-use-internal-linkage.FixMode: 'None'}}", '--',
'-IC:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\misc/Inputs/use-internal-linkage',
'-std=c++11', '-nostdinc++']...
# | clang-tidy --experimental-custom-checks
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-fix-mode-none.cpp.tmp.cpp
-fix --checks=-*,misc-use-internal-linkage -config={CheckOptions:
{misc-use-internal-linkage.FixMode: 'None'}} --
-IC:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc/Inputs/use-internal-linkage
-std=c++11 -nostdinc++ failed:
# | Assertion failed: isDigit(*DiagStr) && "Invalid format for argument in
diagnostic", file
C:\_work\llvm-project\llvm-project\clang\lib\Basic\Diagnostic.cpp, line 1158
# |
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/
and include the crash backtrace and instructions to reproduce the bug.
# |
# | Stack dump:
# |
# | 0. Program arguments: clang-tidy --experimental-custom-checks
C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\misc\\Output\\use-internal-linkage-fix-mode-none.cpp.tmp.cpp
-fix --checks=-*,misc-use-internal-linkage "-config={CheckOptions:
{misc-use-internal-linkage.FixMode: 'None'}}" --
-IC:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\misc/Inputs/use-internal-linkage
-std=c++11 -nostdinc++
# |
# | 1. <eof> parser at end of file
# |
# | 2. ASTMatcher: Processing 'misc-use-internal-linkage' against:
# |
# | FunctionDecl func :
<C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-fix-mode-none.cpp.tmp.cpp:4:1,
col:14>
# |
# | --- Bound Nodes Begin ---
# |
# | fn - { FunctionDecl func :
<C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-fix-mode-none.cpp.tmp.cpp:4:1,
col:14> }
# |
# | --- Bound Nodes End ---
# |
# | Exception Code: 0xC000001D
# |
# | #0 0x00007ff7498f82b6
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3182b6)
# |
# | #1 0x00007ff828b5bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |
# | #2 0x00007ff828b5cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |
# | #3 0x00007ff828b5e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |
# | #4 0x00007ff828b5e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |
# | #5 0x00007ff74999b129
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3bb129)
# |
# | #6 0x00007ff74999ad5e
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3bad5e)
# |
# | #7 0x00007ff74966e7b1
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x8e7b1)
# |
# | #8 0x00007ff74999a86d
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3ba86d)
# |
# | #9 0x00007ff749659580
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x79580)
# |
# | #10 0x00007ff74a1bfa6b
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0xbdfa6b)
# |
# | #11 0x00007ff749964033
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x384033)
# |
# | #12 0x00007ff74a4635ab
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0xe835ab)
# |
# | #13 0x00007ff749963334
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x383334)
# |
# | #14 0x00007ff7499659c4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3859c4)
# |
# | #15 0x00007ff7499663db
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3863db)
# |
# | #16 0x00007ff7499659ea
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3859ea)
# |
# | #17 0x00007ff74993b84d
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x35b84d)
# |
# | #18 0x00007ff7499938ac
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3b38ac)
# |
# | #19 0x00007ff74aa09cc7
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x1429cc7)
# |
# | #20 0x00007ff749a04eaf
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x424eaf)
# |
# | #21 0x00007ff74a67efe4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x109efe4)
# |
# | #22 0x00007ff7499a2038
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c2038)
# |
# | #23 0x00007ff74965930a
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x7930a)
# |
# | #24 0x00007ff7499a1eb0
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c1eb0)
# |
# | #25 0x00007ff7499a080d
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c080d)
# |
# | #26 0x00007ff7499a4799
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c4799)
# |
# | #27 0x00007ff749651a90
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x71a90)
# |
# | #28 0x00007ff7495e68a4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x68a4)
# |
# | #29 0x00007ff74ca5e3b4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x347e3b4)
# |
# | #30 0x00007ff82d9d4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# |
# | #31 0x00007ff83963edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# |
# |
# `-----------------------------
# .---command stderr------------
# | Traceback (most recent call last):
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 413, in <module>
# | main()
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 409, in main
# | CheckRunner(args, extra_args).run()
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 307, in run
# | clang_tidy_output = self.run_clang_tidy()
# | ^^^^^^^^^^^^^^^^^^^^^
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 232, in run_clang_tidy
# | clang_tidy_output = try_run(args)
# | ^^^^^^^^^^^^^
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 63, in try_run
# | process_output = subprocess.check_output(args,
stderr=subprocess.STDOUT).decode(
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "c:\python312\Lib\subprocess.py", line 466, in check_output
# | return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "c:\python312\Lib\subprocess.py", line 571, in run
# | raise CalledProcessError(retcode, process.args,
# | subprocess.CalledProcessError: Command '['clang-tidy',
'--experimental-custom-checks',
'C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\misc\\Output\\use-internal-linkage-fix-mode-none.cpp.tmp.cpp',
'-fix', '--checks=-*,misc-use-internal-linkage', "-config={CheckOptions:
{misc-use-internal-linkage.FixMode: 'None'}}", '--',
'-IC:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\misc/Inputs/use-internal-linkage',
'-std=c++11', '-nostdinc++']' returned non-zero exit status 3221225501.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang
Tools.clang-tidy/checkers/misc/use-internal-linkage-func.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
C:/Python312/python.exe
C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py
C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc\use-internal-linkage-func.cpp
misc-use-internal-linkage
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-func.cpp.tmp
-- --
-IC:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc/Inputs/use-internal-linkage
# executed command: C:/Python312/python.exe
'C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py'
'C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc\use-internal-linkage-func.cpp'
misc-use-internal-linkage
'C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-func.cpp.tmp'
-- --
'-IC:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc/Inputs/use-internal-linkage'
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks',
'C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\misc\\Output\\use-internal-linkage-func.cpp.tmp.cpp',
'-fix', '--checks=-*,misc-use-internal-linkage', '--config={}', '--',
'-IC:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\misc/Inputs/use-internal-linkage',
'-std=c++11', '-nostdinc++']...
# | clang-tidy --experimental-custom-checks
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-func.cpp.tmp.cpp
-fix --checks=-*,misc-use-internal-linkage --config={} --
-IC:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc/Inputs/use-internal-linkage
-std=c++11 -nostdinc++ failed:
# | Assertion failed: isDigit(*DiagStr) && "Invalid format for argument in
diagnostic", file
C:\_work\llvm-project\llvm-project\clang\lib\Basic\Diagnostic.cpp, line 1158
# |
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/
and include the crash backtrace and instructions to reproduce the bug.
# |
# | Stack dump:
# |
# | 0. Program arguments: clang-tidy --experimental-custom-checks
C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\misc\\Output\\use-internal-linkage-func.cpp.tmp.cpp
-fix --checks=-*,misc-use-internal-linkage --config={} --
-IC:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\misc/Inputs/use-internal-linkage
-std=c++11 -nostdinc++
# |
# | 1. <eof> parser at end of file
# |
# | 2. ASTMatcher: Processing 'misc-use-internal-linkage' against:
# |
# | FunctionDecl func :
<C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-func.cpp.tmp.cpp:7:1,
col:14>
# |
# | --- Bound Nodes Begin ---
# |
# | fn - { FunctionDecl func :
<C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-func.cpp.tmp.cpp:7:1,
col:14> }
# |
# | --- Bound Nodes End ---
# |
# | Exception Code: 0xC000001D
# |
# | #0 0x00007ff7498f82b6
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3182b6)
# |
# | #1 0x00007ff828b5bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |
# | #2 0x00007ff828b5cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |
# | #3 0x00007ff828b5e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |
# | #4 0x00007ff828b5e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |
# | #5 0x00007ff74999b129
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3bb129)
# |
# | #6 0x00007ff74999ad5e
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3bad5e)
# |
# | #7 0x00007ff74966e7b1
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x8e7b1)
# |
# | #8 0x00007ff74999a86d
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3ba86d)
# |
# | #9 0x00007ff749659580
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x79580)
# |
# | #10 0x00007ff74a1bfa6b
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0xbdfa6b)
# |
# | #11 0x00007ff749964033
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x384033)
# |
# | #12 0x00007ff74a4635ab
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0xe835ab)
# |
# | #13 0x00007ff749963334
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x383334)
# |
# | #14 0x00007ff7499659c4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3859c4)
# |
# | #15 0x00007ff7499663db
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3863db)
# |
# | #16 0x00007ff7499659ea
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3859ea)
# |
# | #17 0x00007ff74993b84d
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x35b84d)
# |
# | #18 0x00007ff7499938ac
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3b38ac)
# |
# | #19 0x00007ff74aa09cc7
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x1429cc7)
# |
# | #20 0x00007ff749a04eaf
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x424eaf)
# |
# | #21 0x00007ff74a67efe4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x109efe4)
# |
# | #22 0x00007ff7499a2038
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c2038)
# |
# | #23 0x00007ff74965930a
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x7930a)
# |
# | #24 0x00007ff7499a1eb0
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c1eb0)
# |
# | #25 0x00007ff7499a080d
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c080d)
# |
# | #26 0x00007ff7499a4799
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c4799)
# |
# | #27 0x00007ff749651a90
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x71a90)
# |
# | #28 0x00007ff7495e68a4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x68a4)
# |
# | #29 0x00007ff74ca5e3b4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x347e3b4)
# |
# | #30 0x00007ff82d9d4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# |
# | #31 0x00007ff83963edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# |
# |
# `-----------------------------
# .---command stderr------------
# | Traceback (most recent call last):
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 413, in <module>
# | main()
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 409, in main
# | CheckRunner(args, extra_args).run()
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 307, in run
# | clang_tidy_output = self.run_clang_tidy()
# | ^^^^^^^^^^^^^^^^^^^^^
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 232, in run_clang_tidy
# | clang_tidy_output = try_run(args)
# | ^^^^^^^^^^^^^
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 63, in try_run
# | process_output = subprocess.check_output(args,
stderr=subprocess.STDOUT).decode(
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "c:\python312\Lib\subprocess.py", line 466, in check_output
# | return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "c:\python312\Lib\subprocess.py", line 571, in run
# | raise CalledProcessError(retcode, process.args,
# | subprocess.CalledProcessError: Command '['clang-tidy',
'--experimental-custom-checks',
'C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\misc\\Output\\use-internal-linkage-func.cpp.tmp.cpp',
'-fix', '--checks=-*,misc-use-internal-linkage', '--config={}', '--',
'-IC:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\misc/Inputs/use-internal-linkage',
'-std=c++11', '-nostdinc++']' returned non-zero exit status 3221225501.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang
Tools.clang-tidy/checkers/misc/use-internal-linkage-var.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
C:/Python312/python.exe
C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py
C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc\use-internal-linkage-var.cpp
misc-use-internal-linkage
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-var.cpp.tmp
-- --
-IC:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc/Inputs/use-internal-linkage
# executed command: C:/Python312/python.exe
'C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py'
'C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc\use-internal-linkage-var.cpp'
misc-use-internal-linkage
'C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-var.cpp.tmp'
-- --
'-IC:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc/Inputs/use-internal-linkage'
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks',
'C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\misc\\Output\\use-internal-linkage-var.cpp.tmp.cpp',
'-fix', '--checks=-*,misc-use-internal-linkage', '--config={}', '--',
'-IC:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\misc/Inputs/use-internal-linkage',
'-std=c++11', '-nostdinc++']...
# | clang-tidy --experimental-custom-checks
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-var.cpp.tmp.cpp
-fix --checks=-*,misc-use-internal-linkage --config={} --
-IC:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc/Inputs/use-internal-linkage
-std=c++11 -nostdinc++ failed:
# | Assertion failed: isDigit(*DiagStr) && "Invalid format for argument in
diagnostic", file
C:\_work\llvm-project\llvm-project\clang\lib\Basic\Diagnostic.cpp, line 1158
# |
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/
and include the crash backtrace and instructions to reproduce the bug.
# |
# | Stack dump:
# |
# | 0. Program arguments: clang-tidy --experimental-custom-checks
C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\misc\\Output\\use-internal-linkage-var.cpp.tmp.cpp
-fix --checks=-*,misc-use-internal-linkage --config={} --
-IC:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\misc/Inputs/use-internal-linkage
-std=c++11 -nostdinc++
# |
# | 1. <eof> parser at end of file
# |
# | 2. ASTMatcher: Processing 'misc-use-internal-linkage' against:
# |
# | VarDecl global :
<C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-var.cpp.tmp.cpp:7:1,
col:5>
# |
# | --- Bound Nodes Begin ---
# |
# | var - { VarDecl global :
<C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage-var.cpp.tmp.cpp:7:1,
col:5> }
# |
# | --- Bound Nodes End ---
# |
# | Exception Code: 0xC000001D
# |
# | #0 0x00007ff7498f82b6
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3182b6)
# |
# | #1 0x00007ff828b5bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |
# | #2 0x00007ff828b5cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |
# | #3 0x00007ff828b5e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |
# | #4 0x00007ff828b5e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |
# | #5 0x00007ff74999b129
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3bb129)
# |
# | #6 0x00007ff74999ad5e
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3bad5e)
# |
# | #7 0x00007ff74966e7b1
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x8e7b1)
# |
# | #8 0x00007ff74999a86d
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3ba86d)
# |
# | #9 0x00007ff749659580
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x79580)
# |
# | #10 0x00007ff74a1bfa6b
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0xbdfa6b)
# |
# | #11 0x00007ff749964033
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x384033)
# |
# | #12 0x00007ff74a4635ab
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0xe835ab)
# |
# | #13 0x00007ff749963334
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x383334)
# |
# | #14 0x00007ff7499659c4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3859c4)
# |
# | #15 0x00007ff7499663db
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3863db)
# |
# | #16 0x00007ff7499659ea
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3859ea)
# |
# | #17 0x00007ff74993b84d
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x35b84d)
# |
# | #18 0x00007ff7499938ac
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3b38ac)
# |
# | #19 0x00007ff74aa09cc7
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x1429cc7)
# |
# | #20 0x00007ff749a04eaf
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x424eaf)
# |
# | #21 0x00007ff74a67efe4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x109efe4)
# |
# | #22 0x00007ff7499a2038
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c2038)
# |
# | #23 0x00007ff74965930a
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x7930a)
# |
# | #24 0x00007ff7499a1eb0
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c1eb0)
# |
# | #25 0x00007ff7499a080d
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c080d)
# |
# | #26 0x00007ff7499a4799
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x3c4799)
# |
# | #27 0x00007ff749651a90
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x71a90)
# |
# | #28 0x00007ff7495e68a4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x68a4)
# |
# | #29 0x00007ff74ca5e3b4
(c:\_work\llvm-project\llvm-project\build\bin\clang-tidy.exe+0x347e3b4)
# |
# | #30 0x00007ff82d9d4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# |
# | #31 0x00007ff83963edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# |
# |
# `-----------------------------
# .---command stderr------------
# | Traceback (most recent call last):
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 413, in <module>
# | main()
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 409, in main
# | CheckRunner(args, extra_args).run()
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 307, in run
# | clang_tidy_output = self.run_clang_tidy()
# | ^^^^^^^^^^^^^^^^^^^^^
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 232, in run_clang_tidy
# | clang_tidy_output = try_run(args)
# | ^^^^^^^^^^^^^
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 63, in try_run
# | process_output = subprocess.check_output(args,
stderr=subprocess.STDOUT).decode(
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "c:\python312\Lib\subprocess.py", line 466, in check_output
# | return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "c:\python312\Lib\subprocess.py", line 571, in run
# | raise CalledProcessError(retcode, process.args,
# | subprocess.CalledProcessError: Command '['clang-tidy',
'--experimental-custom-checks',
'C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\misc\\Output\\use-internal-linkage-var.cpp.tmp.cpp',
'-fix', '--checks=-*,misc-use-internal-linkage', '--config={}', '--',
'-IC:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\misc/Inputs/use-internal-linkage',
'-std=c++11', '-nostdinc++']' returned non-zero exit status 3221225501.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang Tools.clang-tidy/checkers/misc/use-internal-linkage.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
C:/Python312/python.exe
C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py
C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc\use-internal-linkage.c
misc-use-internal-linkage
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage.c.tmp
-- --
-IC:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc/Inputs/use-internal-linkage
# executed command: C:/Python312/python.exe
'C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py'
'C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc\use-internal-linkage.c'
misc-use-internal-linkage
'C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage.c.tmp'
-- --
'-IC:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc/Inputs/use-internal-linkage'
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks',
'C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\misc\\Output\\use-internal-linkage.c.tmp.c',
'-fix', '--checks=-*,misc-use-internal-linkage', '--config={}', '--',
'-IC:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\misc/Inputs/use-internal-linkage',
'-std=c99', '-nostdinc++']...
# | ------------------------ clang-tidy output -----------------------
# |
# | ------------------------------------------------------------------
# | ------------------------------ Fixes -----------------------------
# |
# | ------------------------------------------------------------------
# | FileCheck
--input-file=C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage.c.tmp.c
C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc\use-internal-linkage.c
--check-prefixes=CHECK-FIXES --match-full-lines failed:
# |
C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc\use-internal-linkage.c:9:17:
error: CHECK-FIXES: expected string not found in input
# |
# | // CHECK-FIXES: static void func() {}
# |
# | ^
# |
# |
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage.c.tmp.c:1:1:
note: scanning from here
# |
# | // RUN: %check_clang_tidy %s misc-use-internal-linkage %t -- --
-I%S/Inputs/use-internal-linkage
# |
# | ^
# |
# |
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage.c.tmp.c:13:1:
note: possible intended match here
# |
# | static void func_static() {}
# |
# | ^
# |
# |
# |
# | Input file:
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\misc\Output\use-internal-linkage.c.tmp.c
# |
# | Check file:
C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\misc\use-internal-linkage.c
# |
# |
# |
# | -dump-input=help explains the following input dump.
# |
# |
# |
# | Input was:
# |
# | <<<<<<
# |
# | 1: // RUN: %check_clang_tidy %s misc-use-internal-linkage %t --
-- -I%S/Inputs/use-internal-linkage
# |
# | check:9'0
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: no match found
# |
# | 2: // RUN: %check_clang_tidy %s misc-use-internal-linkage %t --
\
# |
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
# | 3: // RUN: -config="{CheckOptions:
{misc-use-internal-linkage.FixMode: 'UseStatic'}}" --
-I%S/Inputs/use-internal-linkage
# |
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
# | 4:
# |
# | check:9'0 ~
# |
# | 5: #include "func.h"
# |
# | check:9'0 ~~~~~~~~~~~~~~~~~~
# |
# | 6:
# |
# | check:9'0 ~
# |
# | 7: void func() {}
# |
# | check:9'0 ~~~~~~~~~~~~~~~
# |
# | 8: //
# |
# | check:9'0 ~~~
# |
# | 9: //
# |
# | check:9'0 ~~~
# |
# | 10:
# |
# | check:9'0 ~
# |
# | 11: void func_header() {}
# |
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~
# |
# | 12: extern void func_extern() {}
# |
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
# | 13: static void func_static() {}
# |
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
# | check:9'1 ? possible intended match
# |
# | 14:
# |
# | check:9'0 ~
# |
# | 15: int main() {}
# |
# | check:9'0 ~~~~~~~~~~~~~~
# |
# | 16:
# |
# | check:9'0 ~
# |
# | 17:
# |
# | check:9'0 ~
# |
# | 18: #include "var.h"
# |
# | check:9'0 ~~~~~~~~~~~~~~~~~
# |
# | .
# |
# | .
# |
# | .
# |
# | >>>>>>
# |
# |
# `-----------------------------
# .---command stderr------------
# | Traceback (most recent call last):
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 413, in <module>
# | main()
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 409, in main
# | CheckRunner(args, extra_args).run()
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 311, in run
# | self.check_fixes()
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 255, in check_fixes
# | try_run(
# | File
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
line 63, in try_run
# | process_output = subprocess.check_output(args,
stderr=subprocess.STDOUT).decode(
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "c:\python312\Lib\subprocess.py", line 466, in check_output
# | return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "c:\python312\Lib\subprocess.py", line 571, in run
# | raise CalledProcessError(retcode, process.args,
# | subprocess.CalledProcessError: Command '['FileCheck',
'--input-file=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\misc\\Output\\use-internal-linkage.c.tmp.c',
'C:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\misc\\use-internal-linkage.c',
'--check-prefixes=CHECK-FIXES', '--match-full-lines']' returned non-zero exit
status 1.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
### Clangd
<details>
<summary>Clangd.Clangd/check-fail.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
cp
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check-fail.test
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check-fail.test.tmp.cpp
# executed command: cp
'C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check-fail.test'
'C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check-fail.test.tmp.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 2
not clangd -enable-config=0
-check=C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check-fail.test.tmp.cpp
2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
-strict-whitespace
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check-fail.test
# executed command: not clangd -enable-config=0
'-check=C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check-fail.test.tmp.cpp'
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -strict-whitespace
'C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check-fail.test'
# .---command stderr------------
# |
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check-fail.test:9:11:
error: CHECK: expected string not found in input
# | // CHECK: Testing features at each token
# | ^
# | <stdin>:19:32: note: scanning from here
# | I[17:40:24.964] Building AST...
# | ^
# | <stdin>:24:19: note: possible intended match here
# | 1. ASTMatcher: Processing 'misc-use-internal-linkage' against:
# | ^
# |
# | Input file: <stdin>
# | Check file:
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check-fail.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 14: I[17:40:24.926] internal (cc1) args are: -cc1 -triple
x86_64-pc-windows-msvc19.29.30159 -fsyntax-only -disable-free
-clear-ast-before-backend -main-file-name check-fail.test.tmp.cpp
-mrelocation-model pic -pic-level 2 -mframe-pointer=none -relaxed-aliasing
-fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases
-fms-volatile -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic
"-fdebug-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\clangd\\test"
"-fcoverage-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\clangd\\test"
-resource-dir "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\22"
-internal-isystem
"C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\22\\include"
-internal-isystem
"C:\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\ATLMFC\\include"
-internal-isystem "C:\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\include"
-internal-isystem "C:\\Program Files (x86)\\Windows
Kits\\NETFXSDK\\4.8\\include\\um" -internal-isystem "C:\\Program Files
(x86)\\Windows Kits\\10\\include\\10.0.19041.0\\ucrt" -internal-isystem
"C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.19041.0\\shared"
-internal-isystem "C:\\Program Files (x86)\\Windows
Kits\\10\\include\\10.0.19041.0\\um" -internal-isystem "C:\\Program Files
(x86)\\Windows Kits\\10\\include\\10.0.19041.0\\winrt" -internal-isystem
"C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.19041.0\\cppwinrt"
-fdeprecated-macro -ferror-limit 19 -fno-use-cxa-atexit -fms-extensions
-fms-compatibility -fms-compatibility-version=19.29.30159 -std=c++14
-fskip-odr-check-in-gmf -fdelayed-template-parsing -fcxx-exceptions
-fexceptions -no-round-trip-args -faddrsig -x c++
"C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\clangd\\test\\Output\\check-fail.test.tmp.cpp"
# | 15: I[17:40:24.934] Building preamble...
# | 16: I[17:40:24.964] Built preamble of size 266828 for file
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check-fail.test.tmp.cpp
version null in 0.03 seconds
# | 17: I[17:40:24.964] Indexing headers...
# | 18: E[17:40:24.964] [pp_file_not_found] Line 13: 'missing.h' file
not found
# | 19: I[17:40:24.964] Building AST...
# | check:9'0 X error: no match found
# | 20: Assertion failed: isDigit(*DiagStr) && "Invalid format for
argument in diagnostic", file
C:\_work\llvm-project\llvm-project\clang\lib\Basic\Diagnostic.cpp, line 1158
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 21: PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace
and instructions to reproduce the bug.
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 22: Stack dump:
# | check:9'0 ~~~~~~~~~~~~
# | 23: 0. Program arguments: clangd -enable-config=0
-check=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\clangd\\test\\Output\\check-fail.test.tmp.cpp
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 24: 1. ASTMatcher: Processing 'misc-use-internal-linkage'
against:
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:9'1 ?
possible intended match
# | 25: VarDecl x :
<C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check-fail.test.tmp.cpp:15:1,
col:10>
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 26: --- Bound Nodes Begin ---
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 27: var - { VarDecl x :
<C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check-fail.test.tmp.cpp:15:1,
col:10> }
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 28: --- Bound Nodes End ---
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clangd.Clangd/check-lines.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
cp
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check-lines.test
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check-lines.test.tmp.cpp
# executed command: cp
'C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check-lines.test'
'C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check-lines.test.tmp.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 2
not clangd -enable-config=0
-check=C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check-lines.test.tmp.cpp
-check-lines=6-14 2>&1 |
c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -strict-whitespace
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check-lines.test
# executed command: not clangd -enable-config=0
'-check=C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check-lines.test.tmp.cpp'
-check-lines=6-14
# note: command had no output on stdout or stderr
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -strict-whitespace
'C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check-lines.test'
# .---command stderr------------
# |
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check-lines.test:9:11:
error: CHECK: expected string not found in input
# | // CHECK: Testing features at each token
# | ^
# | <stdin>:19:32: note: scanning from here
# | I[17:40:23.820] Building AST...
# | ^
# | <stdin>:24:19: note: possible intended match here
# | 1. ASTMatcher: Processing 'misc-use-internal-linkage' against:
# | ^
# |
# | Input file: <stdin>
# | Check file:
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check-lines.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 14: I[17:40:23.789] Parsing command...
# | 15: I[17:40:23.793] internal (cc1) args are: -cc1 -triple
x86_64-pc-windows-msvc19.29.30159 -fsyntax-only -disable-free
-clear-ast-before-backend -main-file-name check-lines.test.tmp.cpp
-mrelocation-model pic -pic-level 2 -mframe-pointer=none -relaxed-aliasing
-fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases
-fms-volatile -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic
"-fdebug-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\clangd\\test"
"-fcoverage-compilation-dir=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\clangd\\test"
-resource-dir "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\22"
-internal-isystem
"C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\22\\include"
-internal-isystem
"C:\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\ATLMFC\\include"
-internal-isystem "C:\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\include"
-internal-isystem "C:\\Program Files (x86)\\Windows
Kits\\NETFXSDK\\4.8\\include\\um" -internal-isystem "C:\\Program Files
(x86)\\Windows Kits\\10\\include\\10.0.19041.0\\ucrt" -internal-isystem
"C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.19041.0\\shared"
-internal-isystem "C:\\Program Files (x86)\\Windows
Kits\\10\\include\\10.0.19041.0\\um" -internal-isystem "C:\\Program Files
(x86)\\Windows Kits\\10\\include\\10.0.19041.0\\winrt" -internal-isystem
"C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.19041.0\\cppwinrt"
-fdeprecated-macro -ferror-limit 19 -fno-use-cxa-atexit -fms-extensions
-fms-compatibility -fms-compatibility-version=19.29.30159 -std=c++14
-fskip-odr-check-in-gmf -fdelayed-template-parsing -fcxx-exceptions
-fexceptions -no-round-trip-args -faddrsig -x c++
"C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\clangd\\test\\Output\\check-lines.test.tmp.cpp"
# | 16: I[17:40:23.798] Building preamble...
# | 17: I[17:40:23.819] Built preamble of size 266300 for file
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check-lines.test.tmp.cpp
version null in 0.02 seconds
# | 18: I[17:40:23.819] Indexing headers...
# | 19: I[17:40:23.820] Building AST...
# | check:9'0 X error: no match found
# | 20: Assertion failed: isDigit(*DiagStr) && "Invalid format for
argument in diagnostic", file
C:\_work\llvm-project\llvm-project\clang\lib\Basic\Diagnostic.cpp, line 1158
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 21: PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace
and instructions to reproduce the bug.
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 22: Stack dump:
# | check:9'0 ~~~~~~~~~~~~
# | 23: 0. Program arguments: clangd -enable-config=0
-check=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\clangd\\test\\Output\\check-lines.test.tmp.cpp
-check-lines=6-14
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 24: 1. ASTMatcher: Processing 'misc-use-internal-linkage'
against:
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:9'1 ?
possible intended match
# | 25: VarDecl x :
<C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check-lines.test.tmp.cpp:14:1,
col:10>
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 26: --- Bound Nodes Begin ---
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 27: var - { VarDecl x :
<C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check-lines.test.tmp.cpp:14:1,
col:10> }
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 28: --- Bound Nodes End ---
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clangd.Clangd/check.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
cp C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check.test
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check.test.tmp.cpp
# executed command: cp
'C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check.test'
'C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check.test.tmp.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 2
clangd -enable-config=0 -log=verbose
-check=C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check.test.tmp.cpp
2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
-strict-whitespace
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check.test
# executed command: clangd -enable-config=0 -log=verbose
'-check=C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check.test.tmp.cpp'
# note: command had no output on stdout or stderr
# error: command failed with exit status: 0xc000001d
# executed command:
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -strict-whitespace
'C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check.test'
# .---command stderr------------
# |
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check.test:9:11:
error: CHECK: expected string not found in input
# | // CHECK: Testing features at each token
# | ^
# | <stdin>:25:32: note: scanning from here
# | I[17:40:24.711] Building AST...
# | ^
# | <stdin>:30:19: note: possible intended match here
# | 1. ASTMatcher: Processing 'misc-use-internal-linkage' against:
# | ^
# |
# | Input file: <stdin>
# | Check file:
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\test\check.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 20: I[17:40:24.711] Indexing headers...
# | 21: V[17:40:24.711] indexed preamble AST for
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check.test.tmp.cpp
version null:
# | 22: symbol slab: 0 symbols, 128 bytes
# | 23: ref slab: 0 symbols, 0 refs, 136 bytes
# | 24: relations slab: 0 relations, 24 bytes
# | 25: I[17:40:24.711] Building AST...
# | check:9'0 X error: no match found
# | 26: Assertion failed: isDigit(*DiagStr) && "Invalid format for
argument in diagnostic", file
C:\_work\llvm-project\llvm-project\clang\lib\Basic\Diagnostic.cpp, line 1158
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 27: PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash backtrace
and instructions to reproduce the bug.
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 28: Stack dump:
# | check:9'0 ~~~~~~~~~~~~
# | 29: 0. Program arguments: clangd -enable-config=0 -log=verbose
-check=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\clangd\\test\\Output\\check.test.tmp.cpp
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 30: 1. ASTMatcher: Processing 'misc-use-internal-linkage'
against:
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:9'1 ?
possible intended match
# | 31: VarDecl f :
<C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check.test.tmp.cpp:18:1,
col:18>
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 32: --- Bound Nodes Begin ---
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 33: var - { VarDecl f :
<C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\test\Output\check.test.tmp.cpp:18:1,
col:18> }
# | check:9'0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 34: --- Bound Nodes End ---
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken
or flaky at HEAD), please open an issue at
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/173196
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits