[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 19:49:56 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `bolt-x86_64-ubuntu-nfc` running on `bolt-worker` while building `llvm` at step 7 "build-bolt".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/92/builds/15078
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (build-bolt) failure: build (failure)
...
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for include file elf.h
-- Looking for include file elf.h - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/bolt_rt-bins
0.991 [1824/2/250] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o
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/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/lib/Support -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/Support -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/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/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/Support/Mustache.cpp
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/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/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/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/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/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/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/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/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/Support/Mustache.cpp:8:
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/include/llvm/Support/Mustache.h: In constructor ‘llvm::mustache::Template::Template(llvm::mustache::Template&&)’:
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/include/llvm/Support/Mustache.h:123:12: warning: ‘llvm::mustache::Template::Tree’ will be initialized after [-Wreorder]
123 | ASTNode *Tree;
| ^~~~
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/include/llvm/Support/Mustache.h:120:26: warning: ‘llvm::BumpPtrAllocator llvm::mustache::Template::AstAllocator’ [-Wreorder]
120 | llvm::BumpPtrAllocator AstAllocator;
| ^~~~~~~~~~~~
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/Support/Mustache.cpp:769:1: warning: when initialized here [-Wreorder]
769 | Template::Template(Template &&Other) noexcept
| ^~~~~~~~
1.183 [1824/1/251] Performing build step for 'bolt_rt'
0.070 [2/2/1] Building CXX object CMakeFiles/bolt_rt_hugify.dir/hugify.cpp.o
0.114 [1/2/2] Linking CXX static library lib/libbolt_rt_hugify.a
0.648 [1/1/3] Building CXX object CMakeFiles/bolt_rt_instr.dir/instr.cpp.o
0.688 [0/1/4] Linking CXX static library lib/libbolt_rt_instr.a
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/105893
More information about the cfe-commits
mailing list