================
@@ -147,18 +148,19 @@ static Matcher<NamedDecl> hasStdIteratorName() {
/// recordDecl(hasStdContainerName()) matches \c vector and \c forward_list
/// but not \c my_vec.
static Matcher<NamedDecl> hasStdContainerName() {
- static StringRef ContainerNames[] = {"array", "deque",
- "forward_list", "list",
- "vector",
+ static const StringRef ContainerNames[] = {
----------------
EugeneZelenko wrote:
Since array is big, may be ADT set should be used instead? Sure, this is for
dedicated pull request.
https://github.com/llvm/llvm-project/pull/167127
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits