diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index ae83223a1e62fa3ca9f763e469b579b7dae7c60d..46318f9fafb08978410752d9ad9c85155c43715b 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -915,7 +915,7 @@ def fno_strict_aliasing : Flag<["-"], "fno-strict-aliasing">, Group<f_Group>, def fstruct_path_tbaa : Flag<["-"], "fstruct-path-tbaa">, Group<f_Group>; def fno_struct_path_tbaa : Flag<["-"], "fno-struct-path-tbaa">, Group<f_Group>; def fno_strict_enums : Flag<["-"], "fno-strict-enums">, Group<f_Group>; -def fno_strict_vtable_pointers: Flag<["-"], "fno-strict-vtable-pointers">, +def fno_strict_vtable_pointers: Flag<["-"], "fno-strict-vtable-pointers">, Group<f_Group>; def fno_strict_overflow : Flag<["-"], "fno-strict-overflow">, Group<f_Group>; def fno_threadsafe_statics : Flag<["-"], "fno-threadsafe-statics">, Group<f_Group>, @@ -959,7 +959,7 @@ def fobjc_gc : Flag<["-"], "fobjc-gc">, Group<f_Group>, Flags<[CC1Option]>, HelpText<"Enable Objective-C garbage collection">; def fobjc_legacy_dispatch : Flag<["-"], "fobjc-legacy-dispatch">, Group<f_Group>; def fobjc_new_property : Flag<["-"], "fobjc-new-property">, Group<clang_ignored_f_Group>; -def fobjc_infer_related_result_type : Flag<["-"], "fobjc-infer-related-result-type">, +def fobjc_infer_related_result_type : Flag<["-"], "fobjc-infer-related-result-type">, Group<f_Group>; def fno_objc_infer_related_result_type : Flag<["-"], "fno-objc-infer-related-result-type">, Group<f_Group>, @@ -1053,7 +1053,7 @@ def fstrict_aliasing : Flag<["-"], "fstrict-aliasing">, Group<f_Group>, def fstrict_enums : Flag<["-"], "fstrict-enums">, Group<f_Group>, Flags<[CC1Option]>, HelpText<"Enable optimizations based on the strict definition of an enum's " "value range">; -def fstrict_vtable_pointers: Flag<["-"], "fstrict-vtable-pointers">, +def fstrict_vtable_pointers: Flag<["-"], "fstrict-vtable-pointers">, Group<f_Group>, Flags<[CC1Option]>, HelpText<"Enable optimizations based on the strict rules for overwriting " "polymorphic C++ objects">; diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 2849d513df725b3f6fd3cb678a1f027ed4fb501b..ae876a6e094c7b99f973374eceac99b46ff5f637 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -417,7 +417,7 @@ void Clang::AddPreprocessingOptions(Compilation &C, const JobAction &JA, ++AI; if (getToolChain().getDriver().IsCLMode()) { - // In clang-cl mode, /Ycfoo.h means that all code up to a foo.h + // In clang-cl mode, /Ycfoo.h means that all code up to a foo.h // include is compiled into foo.h, and everything after goes into // the .obj file. /Yufoo.h means that all includes prior to and including // foo.h are completely skipped and replaced with a use of the pch file