[clang-tools-extra] [clang-tidy] New bugprone-method-hiding check (PR #154746)

via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 21 07:22:14 PDT 2025


================
@@ -4,6 +4,9 @@
 // See https://llvm.org/LICENSE.txt for license information.
 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
+// SPDX-FileCopyrightText: Portions Copyright 2025 Siemens and/or its affiliates
+// May 2025 modified by Siemens and/or its affiliates by Tom James
----------------
t-a-james wrote:

Is there anywhere I can put a Siemens copyright notice?  I imagine it will be easier to keep legal happy if our copyright notice can go _somewhere_, even if it's not exactly where they want it.

>Am I correct that with SPDX-FileCopyrightText: Portions Copyright 2025 Siemens inside a file, I won't be able to e.g. fix an issue in the file without some approval by Siemens?

I don't think so (but again, I am not a lawyer).  There are some existing copyright notices from companies in LLVM, for example in `llvm/lib/Support/ConvertUTF.cpp` there's a `Copyright © 1991-2015 Unicode`.


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


More information about the cfe-commits mailing list