================
@@ -0,0 +1,114 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#include "ClangTidyAliases.h"
+#include "../ClangTidyModule.h"
+#include "llvm/ADT/StringMap.h"
+#include <cassert>
+
+namespace clang::tidy {
+
+/// Alias table. Kept sorted by alias name for readability.
+static constexpr std::pair<StringRef, StringRef> AliasTable[] = {
+    // Permanent aliases.
+    {"cert-dcl03-c", "misc-static-assert"},
+    {"cert-oop11-cpp", "performance-move-constructor-init"},
+    // Deprecated aliases: keeping for backward compatibility.
+    {"hicpp-avoid-c-arrays", "modernize-avoid-c-arrays"},
----------------
earnol wrote:

So the current situation is we make breaking change and your problems are of no 
concern of us. This is acceptable stance, but not caring.
I propose to use slightly different stance: "We are going to make a potentially 
breaking changes and obsoleting this. Dear user, please take your time to 
migrate." 
It's much more caring and gentle to the user. The architecture is local to one 
module and should be easy and convenient to maintain.

https://github.com/llvm/llvm-project/pull/197927
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to