[PATCH] D97963: [ASTMatchers][Dynamic] Provide Fallback and suggestions for typos.

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 5 15:23:06 PST 2021


njames93 added inline comments.


================
Comment at: clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:62-72
     ET_RegistryMatcherNotFound = 1,
-    ET_RegistryWrongArgCount = 2,
-    ET_RegistryWrongArgType = 3,
-    ET_RegistryNotBindable = 4,
-    ET_RegistryAmbiguousOverload = 5,
-    ET_RegistryValueNotFound = 6,
-    ET_RegistryUnknownEnumWithReplace = 7,
-    ET_RegistryNonNodeMatcher = 8,
-    ET_RegistryMatcherNoWithSupport = 9,
+    ET_RegistryMatcherNotFoundWithReplace = 2,
+    ET_RegistryWrongArgCount = 3,
+    ET_RegistryWrongArgType = 4,
+    ET_RegistryNotBindable = 5,
+    ET_RegistryAmbiguousOverload = 6,
+    ET_RegistryValueNotFound = 7,
----------------
Any reason for these being explicitly initialized?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97963/new/

https://reviews.llvm.org/D97963



More information about the cfe-commits mailing list