[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop58-cpp' to 'bugprone-copy-constructor-mutates-argument' (PR #164566)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 7 17:04:52 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-win-x-aarch64` running on `as-builder-2` while building `clang-tools-extra` at step 10 "test-check-clang".

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

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

```
Step 10 (test-check-clang) failure: Test just built components: check-clang completed (failure)
******************** TEST 'Clang :: CodeGenCXX/constructors.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\buildbot\as-builder-2\x-aarch64\build\bin\clang.exe -cc1 -internal-isystem C:\buildbot\as-builder-2\x-aarch64\build\lib\clang\22\include -nostdsysteminc -triple x86_64-apple-darwin10 C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenCXX\constructors.cpp -emit-llvm -o - | c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenCXX\constructors.cpp --implicit-check-not=should_not_appear_in_output --check-prefixes=CHECK,NULL-INVALID
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\clang.exe' -cc1 -internal-isystem 'C:\buildbot\as-builder-2\x-aarch64\build\lib\clang\22\include' -nostdsysteminc -triple x86_64-apple-darwin10 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenCXX\constructors.cpp' -emit-llvm -o -
# .---command stderr------------
# | C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenCXX\constructors.cpp:197:14: warning: expression result unused [-Wunused-value]
# |   197 |   void f() { C{}; }
# |       |              ^~~
# | 1 warning generated.
# `-----------------------------
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe' 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenCXX\constructors.cpp' --implicit-check-not=should_not_appear_in_output --check-prefixes=CHECK,NULL-INVALID
# .---command stderr------------
# | C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenCXX\constructors.cpp:26:24: error: NULL-INVALID-LABEL: expected string not found in input
# | // NULL-INVALID-LABEL: define{{.*}} void @_ZN1AC2ER10Undeclared(ptr {{[^,]*}} %this, ptr noundef nonnull align 1 %ref) unnamed_addr
# |                        ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenCXX\constructors.cpp'
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenCXX\constructors.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           1: ; ModuleID = 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenCXX\constructors.cpp' 
# | label:26     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |           2: source_filename = "C:\\buildbot\\as-builder-2\\x-aarch64\\llvm-project\\clang\\test\\CodeGenCXX\\constructors.cpp" 
# | label:26     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3: target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
# | label:26     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4: target triple = "x86_64-apple-darwin10" 
# | label:26     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           5:  
# | label:26     ~
# |           6: %"struct.fwdecl::C" = type { %"struct.fwdecl::B" } 
# | label:26     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--
...

```

</details>

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


More information about the cfe-commits mailing list