================
@@ -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"},
----------------
vbvictor wrote:

It should take a couple of minutes of `sed` to replace all hicpp checks listed 
[here](https://clang.llvm.org/extra/ReleaseNotes.html#potentially-breaking-changes)
 with existing counterparts

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