[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:14:08 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-remote-linux-ubuntu` running on `as-builder-9` while building `clang` at step 7 "build-default".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/195/builds/23077
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (build-default) failure: cmake (failure)
...
15.786 [1648/17/4104] Building CXX object tools/clang/tools/clang-diff/CMakeFiles/clang-diff.dir/ClangDiff.cpp.o
15.810 [1648/16/4105] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/CodeCompletion.cpp.o
15.817 [1648/15/4106] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o
15.894 [1648/14/4107] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalAction.cpp.o
15.945 [1648/13/4108] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o
15.987 [1648/12/4109] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterValuePrinter.cpp.o
16.116 [1648/11/4110] Building CXX object tools/clang/tools/clang-installapi/CMakeFiles/clang-installapi.dir/ClangInstallAPI.cpp.o
16.145 [1648/10/4111] Building CXX object tools/lldb/tools/lldb-instr/CMakeFiles/lldb-instr.dir/Instrument.cpp.o
16.147 [1648/9/4112] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o
16.460 [1648/8/4113] 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/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/tools/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/clang/include -I/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/tools/clang/include -I/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/include -I/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/llvm/include -D__OPTIMIZE__ -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/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/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/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected ‘{’ before ‘:’ token
/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected unqualified-id before ‘:’ token
/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/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/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/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/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/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/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp: At global scope:
/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/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/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/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/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/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) {
| ^~~~~~~~~~~~~~
16.578 [1648/7/4114] Building CXX object tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp.o
16.971 [1648/6/4115] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
19.702 [1648/5/4116] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
21.026 [1648/4/4117] Building AArch64GenSubtargetInfo.inc...
21.824 [1648/3/4118] Building AArch64GenInstrInfo.inc...
27.152 [1648/2/4119] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
27.809 [1648/1/4120] 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