[clang-tools-extra] [llvm] [llvm] add support for mustache templating language (PR #105893)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 10 21:37:29 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-s390x-linux` running on `systemz-1` while building `llvm` at step 4 "build stage 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/42/builds/3629
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (build stage 1) failure: 'ninja -j4' (failure)
...
[295/6002] Generating ../../../../lib/libear/config.h.in
[296/6002] Generating ../../../../lib/libear/ear.c
[297/6002] Generating ../../../../lib/libscanbuild/__init__.py
[298/6002] Generating ../../../../lib/libscanbuild/analyze.py
[299/6002] Generating ../../../../lib/libscanbuild/arguments.py
[300/6002] Generating ../../../../lib/libscanbuild/clang.py
[301/6002] Generating ../../../../lib/libscanbuild/compilation.py
[302/6002] Generating ../../../../lib/libscanbuild/intercept.py
[303/6002] Generating ../../../../lib/libscanbuild/report.py
[304/6002] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/c++ -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/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/lib/Support -I/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/lib/Support -I/home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/include -I/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -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 -O3 -DNDEBUG -UNDEBUG -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o -c /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/lib/Support/Mustache.cpp
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/lib/Support/Mustache.cpp:109:12: error: declaration of '{anonymous}::Accessor llvm::mustache::Token::Accessor' changes meaning of 'Accessor' [-fpermissive]
109 | Accessor Accessor;
| ^~~~~~~~
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/lib/Support/Mustache.cpp:19:7: note: 'Accessor' declared here as 'using Accessor = class llvm::SmallVector<std::__cxx11::basic_string<char> >'
19 | using Accessor = SmallVector<std::string>;
| ^~~~~~~~
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/lib/Support/Mustache.cpp:186:18: error: declaration of 'const Accessor llvm::mustache::ASTNode::Accessor' changes meaning of 'Accessor' [-fpermissive]
186 | const Accessor Accessor;
| ^~~~~~~~
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/lib/Support/Mustache.cpp:19:7: note: 'Accessor' declared here as 'using Accessor = class llvm::SmallVector<std::__cxx11::basic_string<char> >'
19 | using Accessor = SmallVector<std::string>;
| ^~~~~~~~
In file included from /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/lib/Support/Mustache.cpp:8:
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/include/llvm/Support/Mustache.h: In constructor 'llvm::mustache::Template::Template(llvm::mustache::Template&&)':
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/include/llvm/Support/Mustache.h:123:12: warning: 'llvm::mustache::Template::Tree' will be initialized after [-Wreorder]
123 | ASTNode *Tree;
| ^~~~
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/include/llvm/Support/Mustache.h:120:26: warning: 'llvm::BumpPtrAllocator llvm::mustache::Template::AstAllocator' [-Wreorder]
120 | llvm::BumpPtrAllocator AstAllocator;
| ^~~~~~~~~~~~
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/lib/Support/Mustache.cpp:769:1: warning: when initialized here [-Wreorder]
769 | Template::Template(Template &&Other) noexcept
| ^~~~~~~~
[305/6002] Generating ../../../../lib/libscanbuild/resources/selectable.js
[306/6002] Generating ../../../../lib/libscanbuild/resources/scanview.css
[307/6002] Generating ../../../../lib/libscanbuild/resources/sorttable.js
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/105893
More information about the cfe-commits
mailing list