Author: Tom Honermann Date: 2026-03-16T16:12:23-04:00 New Revision: 81841b722b0d57937598adb269801652751a9e16
URL: https://github.com/llvm/llvm-project/commit/81841b722b0d57937598adb269801652751a9e16 DIFF: https://github.com/llvm/llvm-project/commit/81841b722b0d57937598adb269801652751a9e16.diff LOG: [Clang][Docs] Discontinue documenting the GCC -I- and --include-barrier options. (#184941) Clang has never implemented the GCC `-I-` and `--include-barrier` options. An error is issued if they are used. GCC deprecated these options in GCC 4. Advertising their availability in documentation and help text is misleading. Added: Modified: clang/include/clang/Options/Options.td Removed: ################################################################################ diff --git a/clang/include/clang/Options/Options.td b/clang/include/clang/Options/Options.td index eb6a7ada42020..d7a8083c131dd 100644 --- a/clang/include/clang/Options/Options.td +++ b/clang/include/clang/Options/Options.td @@ -62,7 +62,7 @@ def LinkOption : OptionFlag; // target will lead to an err_drv_unsupported_opt_for_target error. def TargetSpecific : OptionFlag; -// Indicates that this warning is ignored, but accepted with a warning for +// Indicates that this option is ignored, but accepted with a warning for // GCC compatibility. class IgnoredGCCCompat : Flags<[HelpHidden]> {} @@ -788,7 +788,7 @@ def fshow_skipped_includes : Flag<["-"], "fshow-skipped-includes">, or #pragma once. This flag makes -H show also such includes.}]>, MarshallingInfoFlag<DependencyOutputOpts<"ShowSkippedHeaderIncludes">>; -def I_ : Flag<["-"], "I-">, Group<I_Group>, +def I_ : Flag<["-"], "I-">, Group<I_Group>, IgnoredGCCCompat, HelpText<"Restrict all prior -I flags to double-quoted inclusion and " "remove current directory from include path">; def I : JoinedOrSeparate<["-"], "I">, Group<I_Group>, _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
