[PATCH] D94169: [clang][driver] Restore the original help text for `-I`
Andrei Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 12 12:21:21 PST 2021
andreil99 accepted this revision.
andreil99 added a comment.
This revision is now accepted and ready to land.
Thanks for suggesting `DocBrief`, Richard!
Looks good to me with a nit.
================
Comment at: clang/include/clang/Driver/Options.td:652
Flags<[CC1Option,CC1AsOption]>, MetaVarName<"<dir>">,
- HelpText<"Add directory to include search path. If there are multiple -I "
- "options, these directories are searched in the order they are "
- "given before the standard system directories are searched. "
- "If the same directory is in the SYSTEM include search paths, for "
- "example if also specified with -isystem, the -I option will be "
- "ignored">;
+ HelpText<"Add directory to include search path">,
+ DocBrief<[{Add directory to include search path. For C++ inputs, if
----------------
How about `Add directory to the end of the list of include search paths` or something similar? There is an order in which the directories are used.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94169/new/
https://reviews.llvm.org/D94169
More information about the cfe-commits
mailing list