================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits