[clang] [clang-repl] Let undo supports file inclusion and macro definition (PR #182750)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 22 07:58:47 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 3057 tests passed
* 29 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>[code=1] tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/OrcIncrementalExecutor.cpp.obj</summary>
```
FAILED: [code=1] tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/OrcIncrementalExecutor.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DCLANG_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\clang\lib\Interpreter -IC:\_work\llvm-project\llvm-project\clang\lib\Interpreter -IC:\_work\llvm-project\llvm-project\clang\include -Itools\clang\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 -MD -UNDEBUG /EHs-c- /GR- -std:c++17 /showIncludes /Fotools\clang\lib\Interpreter\CMakeFiles\obj.clangInterpreter.dir\OrcIncrementalExecutor.cpp.obj /Fdtools\clang\lib\Interpreter\LLVMSupport.dir\LLVMSupport.pdb -c -- C:\_work\llvm-project\llvm-project\clang\lib\Interpreter\OrcIncrementalExecutor.cpp
In file included from C:\_work\llvm-project\llvm-project\clang\lib\Interpreter\OrcIncrementalExecutor.cpp:14:
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(46,5): error: unknown type name 'IdentifierInfo'
46 | IdentifierInfo* II;
| ^
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(47,11): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
47 | const MacroDirective* MD;
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(48,24): error: unknown type name 'IdentifierInfo'
48 | MacroDirectiveInfo(IdentifierInfo* II,
| ^
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(49,30): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
49 | const MacroDirective* MD)
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(69,15): error: use of undeclared identifier 'FileEntryRef'
69 | std::vector<FileEntryRef> IncludedFiles;
| ^~~~~~~~~~~~
5 errors generated.
```
</details>
<details>
<summary>[code=1] tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.obj</summary>
```
FAILED: [code=1] tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DCLANG_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\clang\lib\Interpreter -IC:\_work\llvm-project\llvm-project\clang\lib\Interpreter -IC:\_work\llvm-project\llvm-project\clang\include -Itools\clang\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 -MD -UNDEBUG /EHs-c- /GR- -std:c++17 /showIncludes /Fotools\clang\lib\Interpreter\CMakeFiles\obj.clangInterpreter.dir\DeviceOffload.cpp.obj /Fdtools\clang\lib\Interpreter\LLVMSupport.dir\LLVMSupport.pdb -c -- C:\_work\llvm-project\llvm-project\clang\lib\Interpreter\DeviceOffload.cpp
In file included from C:\_work\llvm-project\llvm-project\clang\lib\Interpreter\DeviceOffload.cpp:18:
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(47,11): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
47 | const MacroDirective* MD;
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(49,30): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
49 | const MacroDirective* MD)
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
2 errors generated.
```
</details>
<details>
<summary>[code=1] tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.obj</summary>
```
FAILED: [code=1] tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DCLANG_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\clang\lib\Interpreter -IC:\_work\llvm-project\llvm-project\clang\lib\Interpreter -IC:\_work\llvm-project\llvm-project\clang\include -Itools\clang\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 -MD -UNDEBUG /EHs-c- /GR- -std:c++17 /showIncludes /Fotools\clang\lib\Interpreter\CMakeFiles\obj.clangInterpreter.dir\Value.cpp.obj /Fdtools\clang\lib\Interpreter\LLVMSupport.dir\LLVMSupport.pdb -c -- C:\_work\llvm-project\llvm-project\clang\lib\Interpreter\Value.cpp
In file included from C:\_work\llvm-project\llvm-project\clang\lib\Interpreter\Value.cpp:18:
In file included from C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/Interpreter.h:19:
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(47,11): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
47 | const MacroDirective* MD;
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(49,30): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
49 | const MacroDirective* MD)
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
2 errors generated.
```
</details>
<details>
<summary>[code=1] tools/clang/tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.obj</summary>
```
FAILED: [code=1] tools/clang/tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DCLANG_BUILD_STATIC -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\clang\tools\clang-repl -IC:\_work\llvm-project\llvm-project\clang\tools\clang-repl -IC:\_work\llvm-project\llvm-project\clang\include -Itools\clang\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 -MD -UNDEBUG /EHs-c- /GR- -std:c++17 /showIncludes /Fotools\clang\tools\clang-repl\CMakeFiles\clang-repl.dir\ClangRepl.cpp.obj /Fdbin\LLVMSupport.pdb -c -- C:\_work\llvm-project\llvm-project\clang\tools\clang-repl\ClangRepl.cpp
In file included from C:\_work\llvm-project\llvm-project\clang\tools\clang-repl\ClangRepl.cpp:20:
In file included from C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/Interpreter.h:19:
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(47,11): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
47 | const MacroDirective* MD;
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(49,30): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
49 | const MacroDirective* MD)
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
2 errors generated.
```
</details>
<details>
<summary>[code=1] tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/IncrementalCompilerBuilderTest.cpp.obj</summary>
```
FAILED: [code=1] tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/IncrementalCompilerBuilderTest.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DCLANG_BUILD_STATIC -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\clang\unittests\Interpreter -IC:\_work\llvm-project\llvm-project\clang\unittests\Interpreter -IC:\_work\llvm-project\llvm-project\clang\include -Itools\clang\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -IC:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include -IC:\_work\llvm-project\llvm-project\third-party\unittest\googlemock\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 -MD -UNDEBUG -Wno-gnu-zero-variadic-macro-arguments /EHs-c- /GR- -Wno-suggest-override -std:c++17 /showIncludes /Fotools\clang\unittests\Interpreter\CMakeFiles\ClangReplInterpreterTests.dir\IncrementalCompilerBuilderTest.cpp.obj /Fdtools\clang\unittests\Interpreter\CMakeFiles\ClangReplInterpreterTests.dir\ -c -- C:\_work\llvm-project\llvm-project\clang\unittests\Interpreter\IncrementalCompilerBuilderTest.cpp
In file included from C:\_work\llvm-project\llvm-project\clang\unittests\Interpreter\IncrementalCompilerBuilderTest.cpp:11:
In file included from C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/Interpreter.h:19:
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(47,11): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
47 | const MacroDirective* MD;
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(49,30): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
49 | const MacroDirective* MD)
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
2 errors generated.
```
</details>
<details>
<summary>[code=1] tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/InterpreterTest.cpp.obj</summary>
```
FAILED: [code=1] tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/InterpreterTest.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DCLANG_BUILD_STATIC -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\clang\unittests\Interpreter -IC:\_work\llvm-project\llvm-project\clang\unittests\Interpreter -IC:\_work\llvm-project\llvm-project\clang\include -Itools\clang\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -IC:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include -IC:\_work\llvm-project\llvm-project\third-party\unittest\googlemock\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 -MD -UNDEBUG -Wno-gnu-zero-variadic-macro-arguments /EHs-c- /GR- -Wno-suggest-override -std:c++17 /showIncludes /Fotools\clang\unittests\Interpreter\CMakeFiles\ClangReplInterpreterTests.dir\InterpreterTest.cpp.obj /Fdtools\clang\unittests\Interpreter\CMakeFiles\ClangReplInterpreterTests.dir\ -c -- C:\_work\llvm-project\llvm-project\clang\unittests\Interpreter\InterpreterTest.cpp
In file included from C:\_work\llvm-project\llvm-project\clang\unittests\Interpreter\InterpreterTest.cpp:20:
In file included from C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/Interpreter.h:19:
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(47,11): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
47 | const MacroDirective* MD;
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(49,30): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
49 | const MacroDirective* MD)
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
2 errors generated.
```
</details>
<details>
<summary>[code=1] tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/InterpreterExtensionsTest.cpp.obj</summary>
```
FAILED: [code=1] tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/InterpreterExtensionsTest.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DCLANG_BUILD_STATIC -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\clang\unittests\Interpreter -IC:\_work\llvm-project\llvm-project\clang\unittests\Interpreter -IC:\_work\llvm-project\llvm-project\clang\include -Itools\clang\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -IC:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include -IC:\_work\llvm-project\llvm-project\third-party\unittest\googlemock\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 -MD -UNDEBUG -Wno-gnu-zero-variadic-macro-arguments /EHs-c- /GR- -Wno-suggest-override -std:c++17 /showIncludes /Fotools\clang\unittests\Interpreter\CMakeFiles\ClangReplInterpreterTests.dir\InterpreterExtensionsTest.cpp.obj /Fdtools\clang\unittests\Interpreter\CMakeFiles\ClangReplInterpreterTests.dir\ -c -- C:\_work\llvm-project\llvm-project\clang\unittests\Interpreter\InterpreterExtensionsTest.cpp
In file included from C:\_work\llvm-project\llvm-project\clang\unittests\Interpreter\InterpreterExtensionsTest.cpp:15:
In file included from C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/Interpreter.h:19:
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(47,11): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
47 | const MacroDirective* MD;
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(49,30): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
49 | const MacroDirective* MD)
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
2 errors generated.
```
</details>
<details>
<summary>[code=1] tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/CodeCompletionTest.cpp.obj</summary>
```
FAILED: [code=1] tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/CodeCompletionTest.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DCLANG_BUILD_STATIC -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\clang\unittests\Interpreter -IC:\_work\llvm-project\llvm-project\clang\unittests\Interpreter -IC:\_work\llvm-project\llvm-project\clang\include -Itools\clang\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -IC:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include -IC:\_work\llvm-project\llvm-project\third-party\unittest\googlemock\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 -MD -UNDEBUG -Wno-gnu-zero-variadic-macro-arguments /EHs-c- /GR- -Wno-suggest-override -std:c++17 /showIncludes /Fotools\clang\unittests\Interpreter\CMakeFiles\ClangReplInterpreterTests.dir\CodeCompletionTest.cpp.obj /Fdtools\clang\unittests\Interpreter\CMakeFiles\ClangReplInterpreterTests.dir\ -c -- C:\_work\llvm-project\llvm-project\clang\unittests\Interpreter\CodeCompletionTest.cpp
In file included from C:\_work\llvm-project\llvm-project\clang\unittests\Interpreter\CodeCompletionTest.cpp:13:
In file included from C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/Interpreter.h:19:
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(47,11): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
47 | const MacroDirective* MD;
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(49,30): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
49 | const MacroDirective* MD)
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
2 errors generated.
```
</details>
<details>
<summary>[code=1] tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/IncrementalProcessingTest.cpp.obj</summary>
```
FAILED: [code=1] tools/clang/unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/IncrementalProcessingTest.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DCLANG_BUILD_STATIC -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\clang\unittests\Interpreter -IC:\_work\llvm-project\llvm-project\clang\unittests\Interpreter -IC:\_work\llvm-project\llvm-project\clang\include -Itools\clang\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -IC:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include -IC:\_work\llvm-project\llvm-project\third-party\unittest\googlemock\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 -MD -UNDEBUG -Wno-gnu-zero-variadic-macro-arguments /EHs-c- /GR- -Wno-suggest-override -std:c++17 /showIncludes /Fotools\clang\unittests\Interpreter\CMakeFiles\ClangReplInterpreterTests.dir\IncrementalProcessingTest.cpp.obj /Fdtools\clang\unittests\Interpreter\CMakeFiles\ClangReplInterpreterTests.dir\ -c -- C:\_work\llvm-project\llvm-project\clang\unittests\Interpreter\IncrementalProcessingTest.cpp
In file included from C:\_work\llvm-project\llvm-project\clang\unittests\Interpreter\IncrementalProcessingTest.cpp:17:
In file included from C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/Interpreter.h:19:
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(47,11): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
47 | const MacroDirective* MD;
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(49,30): error: unknown type name 'MacroDirective'; did you mean 'MacroDirectiveInfo'?
49 | const MacroDirective* MD)
| ^~~~~~~~~~~~~~
| MacroDirectiveInfo
C:\_work\llvm-project\llvm-project\clang\include\clang/Interpreter/PartialTranslationUnit.h(43,10): note: 'MacroDirectiveInfo' declared here
43 | struct MacroDirectiveInfo {
| ^
2 errors generated.
```
</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/182750
More information about the cfe-commits
mailing list