================ @@ -816,6 +821,14 @@ will be ignored}]>; def L : JoinedOrSeparate<["-"], "L">, Flags<[RenderJoined]>, Group<Link_Group>, Visibility<[ClangOption, FlangOption]>, MetaVarName<"<dir>">, HelpText<"Add directory to library search path">; +def embed_dir : JoinedOrSeparate<["-"], "embed-dir">, + Flags<[RenderJoined]>, Group<EmbedPath_Group>, + Visibility<[ClangOption, CC1Option, CC1AsOption, FlangOption, FC1Option]>, + MetaVarName<"<dir>">, HelpText<"Add directory to embed search path">; +def embed_dir_EQ : JoinedOrSeparate<["-"], "embed-dir=">, ---------------- MaskRay wrote:
`-e` is a driver option, so `-eembed-dir-with-typo` is recognized. Better to use `--embed-dir=`. Please don't support `*Separate<...>` for new options. https://github.com/llvm/llvm-project/pull/68620 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits