================
@@ -839,6 +839,13 @@ llvm::Error expandResponseFiles(SmallVectorImpl<const char 
*> &Args,
                                 bool ClangCLMode, llvm::BumpPtrAllocator 
&Alloc,
                                 llvm::vfs::FileSystem *FS = nullptr);
 
+/// Apply a space separated list of edits to the input argument lists.
+/// See applyOneOverrideOption.
+void applyOverrideOptions(SmallVectorImpl<const char *> &Args,
+                          const char *OverrideOpts,
+                          std::set<std::string> &SavedStrings,
----------------
MaskRay wrote:

Is a stable iteration order of SavedStrings needed? I haven't checked closely 
but it seems no. `StringSet` if more idiomatic.

https://github.com/llvm/llvm-project/pull/85425
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to