jansvoboda11 added inline comments.

================
Comment at: clang/include/clang/Driver/Options.td:473
+    MarshallingInfoFlag<"DependencyOutputOpts.OutputFormat", 
"DependencyOutputFormat::Make">,
+    Normalizer<"makeFlagToValueNormalizer(DependencyOutputFormat::NMake)">;
 def Mach : Flag<["-"], "Mach">, Group<Link_Group>;
----------------
The original patch used the following normalizer:
`(normalizeFlagToValue<DependencyOutputFormat, DependencyOutputFormat::NMake>)`.

I wanted to remove the parenthesis and redundant type argument, hence 
`makeFlagToValueNormalizer`. This could be useful later on when normalizing 
flags to non-literal types.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83694/new/

https://reviews.llvm.org/D83694

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to