[clang] Support target names with dots in more utilities (PR #65812)

James Henderson via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 18 00:52:35 PDT 2023


================
@@ -600,6 +600,14 @@ StringRef extension(StringRef path, Style style) {
   return fname.substr(pos);
 }
 
+StringRef program_name(StringRef path, Style style) {
+  // In the future this may need to be extended to other
+  // program suffixes.
----------------
jh7370 wrote:

Unnecessarily wrapped.

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


More information about the cfe-commits mailing list