[clang-tools-extra] [clang-tidy] New bugprone-method-hiding check (PR #154746)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 21 06:15:36 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
----------------
AaronBallman wrote:
> Is it acceptable to keep the copyright notices for files that are entirely new in this PR?
Yes and no. They should get a copyright notice like this:
```
//===--- foo.cpp - does the foo stuff you'd expect ------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
```
but nothing more.
https://github.com/llvm/llvm-project/pull/154746
More information about the cfe-commits
mailing list