[clang] [clang-tools-extra] [lldb] [llvm] [clang][modules] Serialize `CodeGenOptions` (PR #146422)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 12:48:00 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-hip-vega20` running on `hip-vega20-0` while building `clang-tools-extra,clang,lldb,llvm` at step 3 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/123/builds/23431

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 3 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-build.sh --jobs=' (failure)
...
[104/1769] Building arm_sve_builtin_cg.inc...
[105/1769] Building arm_sve_sema_rangechecks.inc...
[106/1769] Building arm_sve_builtins.inc...
[107/1769] Building riscv_vector_builtins.inc...
[108/1769] Generating VCSVersion.inc
[109/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o
[110/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o
[111/1769] Building CXX object tools/clang/lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o
[112/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o
[113/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o
FAILED: tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o 
ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/lib/Lex -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o -MF tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o.d -o tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/LiteralSupport.cpp
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/TargetInfo.h:21,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/LiteralSupport.cpp:18:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/CodeGenOptions.h:60:9: error: declaration of ‘using CFBranchLabelSchemeKind = enum class clang::CFBranchLabelSchemeKind’ changes meaning of ‘CFBranchLabelSchemeKind’ [-fpermissive]
   60 |   using CFBranchLabelSchemeKind = CFBranchLabelSchemeKind;
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/LangOptions.h:17,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/LiteralSupport.cpp:16:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/CFProtectionOptions.h:20:12: note: ‘CFBranchLabelSchemeKind’ declared here as ‘enum class clang::CFBranchLabelSchemeKind’
   20 | enum class CFBranchLabelSchemeKind {
      |            ^~~~~~~~~~~~~~~~~~~~~~~
[114/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o
[115/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o
[116/1769] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
[117/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o
[118/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o
FAILED: tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o 
ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/lib/Lex -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o -MF tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o.d -o tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/ModuleMap.cpp
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/TargetInfo.h:21,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/ModuleMap.cpp:23:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/CodeGenOptions.h:60:9: error: declaration of ‘using CFBranchLabelSchemeKind = enum class clang::CFBranchLabelSchemeKind’ changes meaning of ‘CFBranchLabelSchemeKind’ [-fpermissive]
   60 |   using CFBranchLabelSchemeKind = CFBranchLabelSchemeKind;
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/LangOptions.h:17,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Lex/ModuleMap.h:18,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/ModuleMap.cpp:14:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/CFProtectionOptions.h:20:12: note: ‘CFBranchLabelSchemeKind’ declared here as ‘enum class clang::CFBranchLabelSchemeKind’
   20 | enum class CFBranchLabelSchemeKind {
      |            ^~~~~~~~~~~~~~~~~~~~~~~
[119/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o
FAILED: tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o 
ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/lib/Lex -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o -MF tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o.d -o tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/PPExpressions.cpp
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/TargetInfo.h:21,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/PPExpressions.cpp:21:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/CodeGenOptions.h:60:9: error: declaration of ‘using CFBranchLabelSchemeKind = enum class clang::CFBranchLabelSchemeKind’ changes meaning of ‘CFBranchLabelSchemeKind’ [-fpermissive]
   60 |   using CFBranchLabelSchemeKind = CFBranchLabelSchemeKind;
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/TargetInfo.h:20,
Step 7 (Building LLVM) failure: Building LLVM (failure)
...
[104/1769] Building arm_sve_builtin_cg.inc...
[105/1769] Building arm_sve_sema_rangechecks.inc...
[106/1769] Building arm_sve_builtins.inc...
[107/1769] Building riscv_vector_builtins.inc...
[108/1769] Generating VCSVersion.inc
[109/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o
[110/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o
[111/1769] Building CXX object tools/clang/lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o
[112/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o
[113/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o
FAILED: tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o 
ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/lib/Lex -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o -MF tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o.d -o tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/LiteralSupport.cpp
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/TargetInfo.h:21,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/LiteralSupport.cpp:18:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/CodeGenOptions.h:60:9: error: declaration of ‘using CFBranchLabelSchemeKind = enum class clang::CFBranchLabelSchemeKind’ changes meaning of ‘CFBranchLabelSchemeKind’ [-fpermissive]
   60 |   using CFBranchLabelSchemeKind = CFBranchLabelSchemeKind;
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/LangOptions.h:17,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/LiteralSupport.cpp:16:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/CFProtectionOptions.h:20:12: note: ‘CFBranchLabelSchemeKind’ declared here as ‘enum class clang::CFBranchLabelSchemeKind’
   20 | enum class CFBranchLabelSchemeKind {
      |            ^~~~~~~~~~~~~~~~~~~~~~~
[114/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o
[115/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o
[116/1769] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
[117/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o
[118/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o
FAILED: tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o 
ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/lib/Lex -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o -MF tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o.d -o tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/ModuleMap.cpp
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/TargetInfo.h:21,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/ModuleMap.cpp:23:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/CodeGenOptions.h:60:9: error: declaration of ‘using CFBranchLabelSchemeKind = enum class clang::CFBranchLabelSchemeKind’ changes meaning of ‘CFBranchLabelSchemeKind’ [-fpermissive]
   60 |   using CFBranchLabelSchemeKind = CFBranchLabelSchemeKind;
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/LangOptions.h:17,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Lex/ModuleMap.h:18,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/ModuleMap.cpp:14:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/CFProtectionOptions.h:20:12: note: ‘CFBranchLabelSchemeKind’ declared here as ‘enum class clang::CFBranchLabelSchemeKind’
   20 | enum class CFBranchLabelSchemeKind {
      |            ^~~~~~~~~~~~~~~~~~~~~~~
[119/1769] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o
FAILED: tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o 
ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/lib/Lex -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o -MF tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o.d -o tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/PPExpressions.cpp
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/TargetInfo.h:21,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Lex/PPExpressions.cpp:21:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/CodeGenOptions.h:60:9: error: declaration of ‘using CFBranchLabelSchemeKind = enum class clang::CFBranchLabelSchemeKind’ changes meaning of ‘CFBranchLabelSchemeKind’ [-fpermissive]
   60 |   using CFBranchLabelSchemeKind = CFBranchLabelSchemeKind;
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Basic/TargetInfo.h:20,

```

</details>

https://github.com/llvm/llvm-project/pull/146422


More information about the llvm-commits mailing list