[PATCH] D94169: [clang][driver] Restore the original help text for `-I`

Andrzej Warzynski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 12 12:46:51 PST 2021


awarzynski added a comment.

Thank you for the reviewing @andreil99 !



================
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
----------------
andreil99 wrote:
> 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.
I'll update this before merging.


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