[clang] [NFC][SSAF] Move EntityPointerLevel to a separate folder (PR #191331)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 10 11:01:18 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building `clang` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/22510
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --cmake-file=AMDGPULibcBot.cmake' (failure)
...
[4117/4980] Building CXX object tools/clang/tools/offload-arch/CMakeFiles/offload-arch.dir/AMDGPUArchByKFD.cpp.o
[4118/4980] Linking CXX shared library lib/libclangScalableStaticAnalysisFrameworkTool.so.23.0git
[4119/4980] Creating library symlink lib/libclangHandleLLVM.so
[4120/4980] Building CXX object tools/clang/tools/offload-arch/CMakeFiles/offload-arch.dir/AMDGPUArchByHIP.cpp.o
[4121/4980] Creating library symlink lib/libclangToolingRefactoring.so
[4122/4980] Building CXX object tools/clang/tools/offload-arch/CMakeFiles/offload-arch.dir/LevelZeroArch.cpp.o
[4123/4980] Creating library symlink lib/libclangScalableStaticAnalysisFrameworkTool.so
[4124/4980] Building CXX object tools/lli/CMakeFiles/lli.dir/lli.cpp.o
[4125/4980] Linking CXX static library lib/libLLVMUBAwareInterpreter_static.a
[4126/4980] Building CXX object tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o
FAILED: tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o
ccache /usr/bin/c++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/tools/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/tools/clang/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/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-array-bounds -Wno-stringop-overread -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 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o -MF tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o.d -o tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o -c /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: qualified name does not name a class before ‘:’ token
61 | : ConstStmtVisitor<EntityPointerLevelTranslator,
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected ‘{’ before ‘:’ token
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected unqualified-id before ‘:’ token
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp: In function ‘llvm::Expected<std::set<clang::ssaf::EntityPointerLevel, clang::ssaf::EntityPointerLevel::Comparator> > clang::ssaf::translateEntityPointerLevel(const clang::Expr*, clang::ASTContext&, std::function<clang::ssaf::EntityId(clang::ssaf::EntityName)>)’:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:236:3: error: ‘EntityPointerLevelTranslator’ was not declared in this scope
236 | EntityPointerLevelTranslator Translator(AddEntity, Ctx);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:238:10: error: ‘Translator’ was not declared in this scope
238 | return Translator.translate(E);
| ^~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp: At global scope:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:32:20: warning: ‘llvm::Error makeCreateEntityNameError(const clang::NamedDecl*, clang::ASTContext&)’ defined but not used [-Wunused-function]
32 | static llvm::Error makeCreateEntityNameError(const NamedDecl *FailedDecl,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:25:20: warning: ‘llvm::Error makeUnsupportedStmtKindError(const clang::Stmt*)’ defined but not used [-Wunused-function]
25 | static llvm::Error makeUnsupportedStmtKindError(const Stmt *Unsupported) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:19:13: warning: ‘bool hasPointerType(const clang::Expr*)’ defined but not used [-Wunused-function]
19 | static bool hasPointerType(const Expr *E) {
| ^~~~~~~~~~~~~~
[4127/4980] Building CXX object tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o
[4128/4980] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o
[4129/4980] Linking CXX executable bin/apinotes-test
[4130/4980] Linking CXX executable bin/lli-child-target
[4131/4980] Linking CXX shared library lib/libLLVMUBAwareInterpreter.so.23.0git
[4132/4980] Linking CXX executable bin/llvm-as
[4133/4980] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o
[4134/4980] Linking CXX executable bin/offload-arch
[4135/4980] Building CXX object tools/clang/tools/clang-installapi/CMakeFiles/clang-installapi.dir/Options.cpp.o
[4136/4980] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/CodeCompletion.cpp.o
[4137/4980] Linking CXX executable bin/lli
[4138/4980] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalAction.cpp.o
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/Interpreter/IncrementalAction.cpp:9:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/Interpreter/IncrementalAction.h:37:38: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
37 | [[maybe_unused]] CompilerInstance &CI;
Step 7 (build cmake config) failure: build cmake config (failure)
...
[4117/4980] Building CXX object tools/clang/tools/offload-arch/CMakeFiles/offload-arch.dir/AMDGPUArchByKFD.cpp.o
[4118/4980] Linking CXX shared library lib/libclangScalableStaticAnalysisFrameworkTool.so.23.0git
[4119/4980] Creating library symlink lib/libclangHandleLLVM.so
[4120/4980] Building CXX object tools/clang/tools/offload-arch/CMakeFiles/offload-arch.dir/AMDGPUArchByHIP.cpp.o
[4121/4980] Creating library symlink lib/libclangToolingRefactoring.so
[4122/4980] Building CXX object tools/clang/tools/offload-arch/CMakeFiles/offload-arch.dir/LevelZeroArch.cpp.o
[4123/4980] Creating library symlink lib/libclangScalableStaticAnalysisFrameworkTool.so
[4124/4980] Building CXX object tools/lli/CMakeFiles/lli.dir/lli.cpp.o
[4125/4980] Linking CXX static library lib/libLLVMUBAwareInterpreter_static.a
[4126/4980] Building CXX object tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o
FAILED: tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o
ccache /usr/bin/c++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/tools/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/tools/clang/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/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-array-bounds -Wno-stringop-overread -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 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o -MF tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o.d -o tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o -c /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: qualified name does not name a class before ‘:’ token
61 | : ConstStmtVisitor<EntityPointerLevelTranslator,
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected ‘{’ before ‘:’ token
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected unqualified-id before ‘:’ token
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp: In function ‘llvm::Expected<std::set<clang::ssaf::EntityPointerLevel, clang::ssaf::EntityPointerLevel::Comparator> > clang::ssaf::translateEntityPointerLevel(const clang::Expr*, clang::ASTContext&, std::function<clang::ssaf::EntityId(clang::ssaf::EntityName)>)’:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:236:3: error: ‘EntityPointerLevelTranslator’ was not declared in this scope
236 | EntityPointerLevelTranslator Translator(AddEntity, Ctx);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:238:10: error: ‘Translator’ was not declared in this scope
238 | return Translator.translate(E);
| ^~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp: At global scope:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:32:20: warning: ‘llvm::Error makeCreateEntityNameError(const clang::NamedDecl*, clang::ASTContext&)’ defined but not used [-Wunused-function]
32 | static llvm::Error makeCreateEntityNameError(const NamedDecl *FailedDecl,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:25:20: warning: ‘llvm::Error makeUnsupportedStmtKindError(const clang::Stmt*)’ defined but not used [-Wunused-function]
25 | static llvm::Error makeUnsupportedStmtKindError(const Stmt *Unsupported) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:19:13: warning: ‘bool hasPointerType(const clang::Expr*)’ defined but not used [-Wunused-function]
19 | static bool hasPointerType(const Expr *E) {
| ^~~~~~~~~~~~~~
[4127/4980] Building CXX object tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o
[4128/4980] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o
[4129/4980] Linking CXX executable bin/apinotes-test
[4130/4980] Linking CXX executable bin/lli-child-target
[4131/4980] Linking CXX shared library lib/libLLVMUBAwareInterpreter.so.23.0git
[4132/4980] Linking CXX executable bin/llvm-as
[4133/4980] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o
[4134/4980] Linking CXX executable bin/offload-arch
[4135/4980] Building CXX object tools/clang/tools/clang-installapi/CMakeFiles/clang-installapi.dir/Options.cpp.o
[4136/4980] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/CodeCompletion.cpp.o
[4137/4980] Linking CXX executable bin/lli
[4138/4980] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalAction.cpp.o
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/Interpreter/IncrementalAction.cpp:9:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/clang/lib/Interpreter/IncrementalAction.h:37:38: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
37 | [[maybe_unused]] CompilerInstance &CI;
```
</details>
https://github.com/llvm/llvm-project/pull/191331
More information about the cfe-commits
mailing list