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

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 15 11:26:45 PDT 2024


================
@@ -6677,3 +6678,134 @@ llvm::Error driver::expandResponseFiles(SmallVectorImpl<const char *> &Args,
 
   return llvm::Error::success();
 }
+
+namespace {
+
+const char *GetStableCStr(std::set<std::string> &SavedStrings, StringRef S) {
----------------
MaskRay wrote:

We prefer `static` for functions

https://llvm.org/docs/CodingStandards.html#anonymous-namespaces

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


More information about the cfe-commits mailing list