[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:00:45 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `intel-sycl-gpu` running on `intel-sycl-gpu-01` while building `clang` at step 5 "build-unified-tree".

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

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

```
Step 5 (build-unified-tree) failure: build (failure)
...
   30 | ssaf::getUnsafeBuffers(const UnsafeBufferUsageEntitySummary &S) {
      | ^~~~
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.h:30:3: note: only here as a ‘friend’
   30 |   getUnsafeBuffers(const UnsafeBufferUsageEntitySummary &);
      |   ^~~~~~~~~~~~~~~~
4.624 [661/12/3902] Building X86GenFastISel.inc...
4.863 [661/11/3903] Building X86GenGlobalISel.inc...
5.048 [661/10/3904] Building X86GenSubtargetInfo.inc...
5.242 [661/9/3905] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
5.545 [661/8/3906] 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_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/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/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/tools/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/include -I/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/tools/clang/include -I/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/build/include -I/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/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-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -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 -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -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/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/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/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected ‘{’ before ‘:’ token
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected unqualified-id before ‘:’ token
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/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<EntityId(EntityName)>)’:
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/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/test-user/llvm-buildbot-worker/intel-sycl-gpu/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/test-user/llvm-buildbot-worker/intel-sycl-gpu/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp: At global scope:
/home/test-user/llvm-buildbot-worker/intel-sycl-gpu/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/test-user/llvm-buildbot-worker/intel-sycl-gpu/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/test-user/llvm-buildbot-worker/intel-sycl-gpu/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) {
      |             ^~~~~~~~~~~~~~
5.654 [661/7/3907] Building CXX object tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp.o
5.783 [661/6/3908] Building X86GenDAGISel.inc...
6.596 [661/5/3909] Building X86GenInstrInfo.inc...
6.683 [661/4/3910] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
8.569 [661/3/3911] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
14.543 [661/2/3912] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
14.569 [661/1/3913] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the cfe-commits mailing list