File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
clang/lib/StaticAnalyzer/Checkers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -672,7 +672,7 @@ class StdLibraryFunctionsChecker
672
672
StringRef getNote () const { return Note; }
673
673
};
674
674
675
- using ArgTypes = std::vector <std::optional<QualType>>;
675
+ using ArgTypes = ArrayRef <std::optional<QualType>>;
676
676
using RetType = std::optional<QualType>;
677
677
678
678
// A placeholder type, we use it whenever we do not care about the concrete
@@ -1746,7 +1746,7 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
1746
1746
}
1747
1747
// Add the same summary for different names with the Signature explicitly
1748
1748
// given.
1749
- void operator ()(std::vector <StringRef> Names, Signature Sign, Summary Sum) {
1749
+ void operator ()(ArrayRef <StringRef> Names, Signature Sign, Summary Sum) {
1750
1750
for (StringRef Name : Names)
1751
1751
operator ()(Name, Sign, Sum);
1752
1752
}
You can’t perform that action at this time.
0 commit comments