[clang] [clang] Move CCC_OVERRIDE_OPTIONS implementation to Driver (PR #85425)

Dave Lee via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 15 10:13:49 PDT 2024


================
@@ -6677,3 +6678,136 @@ llvm::Error driver::expandResponseFiles(SmallVectorImpl<const char *> &Args,
 
   return llvm::Error::success();
 }
+
+namespace {
+
+const char *GetStableCStr(std::set<std::string> &SavedStrings, StringRef S) {
+  return SavedStrings.insert(std::string(S)).first->c_str();
+}
+
+/// ApplyOneQAOverride - Apply a list of edits to the input argument lists.
----------------
kastiglione wrote:

thanks!

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


More information about the cfe-commits mailing list