Author: d0k
Date: Wed Sep 12 03:04:16 2018
New Revision: 342041
URL: http://llvm.org/viewvc/llvm-project?rev=342041&view=rev
Log:
[clang-tidy] Abseil: Add more directories that are slated for future absl
expansion.
Modified:
clang-tools-extra/trunk/clang-tidy/abseil/AbseilMatcher.h
Modified: clang-tools-extra/trunk/clang-tidy/abseil/AbseilMatcher.h
URL:
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/abseil/AbseilMatcher.h?rev=342041&r1=342040&r2=342041&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/abseil/AbseilMatcher.h (original)
+++ clang-tools-extra/trunk/clang-tidy/abseil/AbseilMatcher.h Wed Sep 12
03:04:16 2018
@@ -49,9 +49,10 @@ AST_POLYMORPHIC_MATCHER(
return false;
Path = Path.drop_front(PrefixPosition + AbslPrefix.size());
static const char *AbseilLibraries[] = {
- "algorithm", "base", "container", "debugging", "flags",
- "memory", "meta", "numeric", "strings", "synchronization",
- "time", "types", "utility"};
+ "algorithm", "base", "container", "debugging", "flags",
+ "hash", "iterator", "memory", "meta", "numeric",
+ "random", "strings", "synchronization", "time", "types",
+ "utility"};
return std::any_of(
std::begin(AbseilLibraries), std::end(AbseilLibraries),
[&](const char *Library) { return Path.startswith(Library); });
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits