[PATCH] D141741: Add some subdirectories to the list of Abseil paths.

Andy Getz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 13 17:32:43 PST 2023


suertreus created this revision.
suertreus added a reviewer: ymandel.
suertreus added a project: clang-tools-extra.
Herald added a subscriber: carlosgalvezp.
Herald added a reviewer: njames93.
Herald added a project: All.
suertreus requested review of this revision.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141741

Files:
  clang-tools-extra/clang-tidy/abseil/AbseilMatcher.h


Index: clang-tools-extra/clang-tidy/abseil/AbseilMatcher.h
===================================================================
--- clang-tools-extra/clang-tidy/abseil/AbseilMatcher.h
+++ clang-tools-extra/clang-tidy/abseil/AbseilMatcher.h
@@ -48,10 +48,11 @@
     return false;
   Path = Path.drop_front(PrefixPosition + AbslPrefix.size());
   static const char *AbseilLibraries[] = {
-      "algorithm", "base",     "container", "debugging", "flags",
-      "hash",      "iterator", "memory",    "meta",      "numeric",
-      "profiling", "random",   "status",    "strings",   "synchronization",
-      "time",      "types",    "utility"};
+      "algorithm",       "base",   "cleanup",    "container", "crc",
+      "debugging",       "flags",  "functional", "google",    "hash",
+      "iterator",        "log",    "memory",     "meta",      "numeric",
+      "profiling",       "python", "random",     "status",    "strings",
+      "synchronization", "time",   "types",      "utility"};
   return llvm::any_of(AbseilLibraries, [&](const char *Library) {
     return Path.startswith(Library);
   });


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141741.489167.patch
Type: text/x-patch
Size: 1105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230114/a76d575a/attachment.bin>


More information about the cfe-commits mailing list