github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
The build failed before running any tests. Click on a failure below to see the
details.
<details>
<summary>tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o</summary>
```
FAILED: tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG
-D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/Lex
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported
-fdiagnostics-color -ffunction-sections -fdata-sections -fno-common
-Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG
-fno-exceptions -funwind-tables -fno-rtti -MD -MT
tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o -MF
tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o.d -o
tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o -c
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:1959:65:
error: function definition is not allowed here
1959 | const char *CurPtr, [[maybe_unused]] const char *BufferEnd) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:1963:70:
error: function definition is not allowed here
1963 | bool Lexer::LexIdentifierContinue(Token &Result, const char *CurPtr) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:2044:75:
error: function definition is not allowed here
2044 | bool Lexer::isHexaLiteral(const char *Start, const LangOptions
&LangOpts) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:2059:67:
error: function definition is not allowed here
2059 | bool Lexer::LexNumericConstant(Token &Result, const char *CurPtr) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:2128:54:
error: function definition is not allowed here
2128 | bool IsStringLiteral) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:2220:51:
error: function definition is not allowed here
2220 | tok::TokenKind Kind) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:2281:54:
error: function definition is not allowed here
2281 | tok::TokenKind Kind) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:2371:71:
error: function definition is not allowed here
2371 | bool Lexer::LexAngledStringLiteral(Token &Result, const char *CurPtr) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:2415:53:
error: function definition is not allowed here
2415 | bool IsAngled) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:2449:50:
error: function definition is not allowed here
2449 | tok::TokenKind Kind) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:2518:60:
error: function definition is not allowed here
2518 | bool &TokAtPhysicalStartOfLine) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:2594:61:
error: function definition is not allowed here
2594 | bool &TokAtPhysicalStartOfLine) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:2759:64:
error: function definition is not allowed here
2759 | bool Lexer::SaveLineComment(Token &Result, const char *CurPtr) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:2788:67:
error: function definition is not allowed here
2788 | bool Trigraphs) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:2876:62:
error: function definition is not allowed here
2876 | bool &TokAtPhysicalStartOfLine) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:3095:60:
error: function definition is not allowed here
3095 | void Lexer::ReadToEndOfLine(SmallVectorImpl<char> *Result) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:3151:61:
error: function definition is not allowed here
3151 | bool Lexer::LexEndOfFile(Token &Result, const char *CurPtr) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:3212:47:
error: function definition is not allowed here
3212 | std::optional<Token> Lexer::peekNextPPToken() {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Lex/Lexer.cpp:3255:60:
error: function definition is not allowed here
3255 | ConflictMarkerKind CMK) {
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken
or flaky at HEAD), please open an issue at
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/175452
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits