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/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o</summary>
```
FAILED: tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o
sccache /opt/llvm/bin/clang++ -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/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/Sema
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema
-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/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o -MF
tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o.d -o
tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o -c
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1270:77:
error: function definition is not allowed here
1270 | static void handleNoSpecializations(Sema &S, Decl *D, const ParsedAttr
&AL) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1278:61:
error: function definition is not allowed here
1278 | bool Sema::isValidPointerAttrType(QualType T, bool RefOkay) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1307:61:
error: function definition is not allowed here
1307 | bool isReturnValue = false) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1320:71:
error: function definition is not allowed here
1320 | static void handleNonNullAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1367:62:
error: function definition is not allowed here
1367 | const ParsedAttr &AL) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1386:78:
error: function definition is not allowed here
1386 | static void handleReturnsNonNullAttr(Sema &S, Decl *D, const ParsedAttr
&AL) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1396:72:
error: function definition is not allowed here
1396 | static void handleNoEscapeAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1411:77:
error: function definition is not allowed here
1411 | static void handleAssumeAlignedAttr(Sema &S, Decl *D, const ParsedAttr
&AL) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1417:74:
error: function definition is not allowed here
1417 | static void handleAllocAlignAttr(Sema &S, Decl *D, const ParsedAttr &AL)
{
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1422:43:
error: function definition is not allowed here
1422 | Expr *OE) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1466:47:
error: function definition is not allowed here
1466 | Expr *ParamExpr) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1495:48:
error: function definition is not allowed here
1495 | static bool normalizeName(StringRef &AttrName) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1504:73:
error: function definition is not allowed here
1504 | static void handleOwnershipAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1626:71:
error: function definition is not allowed here
1626 | static void handleWeakRefAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1689:52:
error: function definition is not allowed here
1689 | StringRef Str) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1716:69:
error: function definition is not allowed here
1716 | static void handleIFuncAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1732:69:
error: function definition is not allowed here
1732 | static void handleAliasAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1767:72:
error: function definition is not allowed here
1767 | static void handleTLSModelAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaDeclAttr.cpp:1784:72:
error: function definition is not allowed here
1784 | static void handleRestrictAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
| ^
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/186741
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits