[clang] [llvm] [mlir] [polly] [NFC] Rename `Intrinsic::getDeclaration` to `getOrInsertDeclaration` (PR #111752)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 11 07:39:19 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-x86_64-debian-fast` running on `gribozavr4` while building `clang,llvm,mlir,polly` at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/9650

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (build-unified-tree) failure: build (failure)
...
/// \param KeyT The original key type, which requires the implementation of
     ^~~~~
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/ProfileData/HashKeyMap.h:46:6: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
/// \param ValueT The original mapped type, which has the same requirement as
     ^~~~~
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/ProfileData/HashKeyMap.h:48:6: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
/// \param MapTArgs Additional template parameters passed to the underlying
     ^~~~~
4 warnings generated.
37.230 [4257/96/1658] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o
FAILED: tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -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/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/lib/CodeGen -I/b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen -I/b/1/clang-x86_64-debian-fast/llvm.src/clang/include -I/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/include -I/b/1/clang-x86_64-debian-fast/llvm.obj/include -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include -std=c++11 -Wdocumentation -Wno-documentation-deprecated-sync -fPIC -fvisibility-inlines-hidden -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o -MF tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o.d -o tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o -c /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGBuiltin.cpp
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGBuiltin.cpp:13:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/ABIInfo.h:12:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/Attr.h:18:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/Decl.h:17:
/b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/APValue.h:372:14: warning: parameter 'UninitArray' not found in the function declaration [-Wdocumentation]
  /// \param UninitArray Marker. Pass an empty UninitArray.
             ^~~~~~~~~~~
/b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/APValue.h:380:14: warning: parameter 'UninitStruct' not found in the function declaration [-Wdocumentation]
  /// \param UninitStruct Marker. Pass an empty UninitStruct.
             ^~~~~~~~~~~~
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGBuiltin.cpp:14:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGCUDARuntime.h:18:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/GlobalDecl.h:18:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/DeclCXX.h:22:
/b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/Expr.h:5228:21: warning: '@endcode' command does not terminate a verbatim text block [-Wdocumentation]
  /// literal or an @encode?
                    ^~~~~~~
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGBuiltin.cpp:14:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGCUDARuntime.h:18:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/GlobalDecl.h:20:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/DeclOpenMP.h:21:
/b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/OpenMPClause.h:6508:20: warning: empty paragraph passed to '\param' command [-Wdocumentation]
  /// \param PreInit
      ~~~~~~~~~~~~~^
/b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/OpenMPClause.h:6602:20: warning: empty paragraph passed to '\param' command [-Wdocumentation]
  /// \param PreInit
      ~~~~~~~~~~~~~^
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGBuiltin.cpp:15:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGCXXABI.h:17:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CodeGenFunction.h:16:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGBuilder.h:13:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGValue.h:19:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CodeGenTBAA.h:20:
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/MDBuilder.h:64:14: warning: parameter 'Do' not found in the function declaration [-Wdocumentation]
  /// @param Do these weights come from __builtin_expect*
             ^~
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/MDBuilder.h:64:14: note: did you mean 'IsExpected'?

```

</details>

https://github.com/llvm/llvm-project/pull/111752


More information about the cfe-commits mailing list