================
@@ -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.
----------------
MaskRay wrote:
Sorry, it's "Don’t duplicate function or class name at the beginning of the
comment."
https://github.com/llvm/llvm-project/pull/85425
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits