[clang] [analyzer][NFC] Use ArrayRef for input parameters (PR #93203)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 27 00:34:18 PDT 2024


================
@@ -672,7 +672,7 @@ class StdLibraryFunctionsChecker
     StringRef getNote() const { return Note; }
   };
 
-  using ArgTypes = std::vector<std::optional<QualType>>;
+  using ArgTypes = ArrayRef<std::optional<QualType>>;
----------------
steakhal wrote:

One can argue the same the other way around, just like for pointers.

https://github.com/llvm/llvm-project/pull/93203


More information about the cfe-commits mailing list