[clang] [llvm] Add -funique-source-file-identifier flag. (PR #142901)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 5 07:57:14 PDT 2025
================
@@ -4204,13 +4204,15 @@ def ftrigraphs : Flag<["-"], "ftrigraphs">, Group<f_Group>,
def fno_trigraphs : Flag<["-"], "fno-trigraphs">, Group<f_Group>,
HelpText<"Do not process trigraph sequences">,
Visibility<[ClangOption, CC1Option]>;
-defm unique_source_file_names: BoolOption<"f", "unique-source-file-names",
- CodeGenOpts<"UniqueSourceFileNames">, DefaultFalse,
- PosFlag<SetTrue, [], [CC1Option], "Allow">,
- NegFlag<SetFalse, [], [], "Do not allow">,
- BothFlags<[], [ClangOption], " the compiler to assume that each translation unit has a unique "
- "source file name at link time">>,
- Group<f_clang_Group>;
+def funique_source_file_names: Flag<["-"], "funique-source-file-names">, Group<f_Group>,
+ HelpText<"Allow the compiler to assume that each translation unit has a unique "
+ "source file identifier (see funique-source-file-identifier) at link time">;
----------------
teresajohnson wrote:
nit: missing "-" in front of option name.
https://github.com/llvm/llvm-project/pull/142901
More information about the llvm-commits
mailing list