================
@@ -1072,6 +1116,64 @@ getAPINotesParameterSelectorCandidates(const Sema &S,
const FunctionDecl *FD) {
return Candidates;
}
+static APINotesParameterSelectorSet
+makeParameterSelectorSet(ArrayRef<SmallVector<std::string, 4>> Selectors) {
+ APINotesParameterSelectorSet Set;
+ for (const SmallVector<std::string, 4> &Selector : Selectors)
----------------
Xazax-hun wrote:
You could use auto or `const SmallVectorImpl<std::string>&` to avoid mentioning
the size.
https://github.com/llvm/llvm-project/pull/209408
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits