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
672672 StringRef getNote () const { return Note; }
673673 };
674674
675- using ArgTypes = std::vector <std::optional<QualType>>;
675+ using ArgTypes = ArrayRef <std::optional<QualType>>;
676676 using RetType = std::optional<QualType>;
677677
678678 // A placeholder type, we use it whenever we do not care about the concrete
@@ -1746,7 +1746,7 @@ void StdLibraryFunctionsChecker::initFunctionSummaries(
17461746 }
17471747 // Add the same summary for different names with the Signature explicitly
17481748 // given.
1749- void operator ()(std::vector <StringRef> Names, Signature Sign, Summary Sum) {
1749+ void operator ()(ArrayRef <StringRef> Names, Signature Sign, Summary Sum) {
17501750 for (StringRef Name : Names)
17511751 operator ()(Name, Sign, Sum);
17521752 }
You can’t perform that action at this time.
0 commit comments