[PATCH] D109470: Add "profiling" to the list of absl libraries.
Yitzhak Mandelbaum via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 9 13:31:40 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe976fc61ecd9: Add "profiling" to the list of absl libraries. (authored by nilayvaish, committed by ymandel).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109470/new/
https://reviews.llvm.org/D109470
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
@@ -47,15 +47,11 @@
if (PrefixPosition == StringRef::npos)
return false;
Path = Path.drop_front(PrefixPosition + AbslPrefix.size());
- static const char *AbseilLibraries[] = {"algorithm", "base",
- "container", "debugging",
- "flags", "hash",
- "iterator", "memory",
- "meta", "numeric",
- "random", "status",
- "strings", "synchronization",
- "time", "types",
- "utility"};
+ static const char *AbseilLibraries[] = {
+ "algorithm", "base", "container", "debugging", "flags",
+ "hash", "iterator", "memory", "meta", "numeric",
+ "profiling", "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: D109470.371708.patch
Type: text/x-patch
Size: 1387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210909/22eee879/attachment.bin>
More information about the cfe-commits
mailing list