[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 11:14:09 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();
+}
+
+/// applyOneOverrideOption - Apply a list of edits to the input argument lists.
----------------
kastiglione wrote:
I will move it to the header file.
https://github.com/llvm/llvm-project/pull/85425
More information about the cfe-commits
mailing list