From: Junmo Park Date: Thu, 17 Mar 2016 06:41:27 +0000 (+0000) Subject: Minor code cleanups. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32fcd42fc53548a16473f398bbb61299b7cd3ffa;p=clang Minor code cleanups. NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263694 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index ae83223a1e..46318f9faf 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, def fstruct_path_tbaa : Flag<["-"], "fstruct-path-tbaa">, Group; def fno_struct_path_tbaa : Flag<["-"], "fno-struct-path-tbaa">, Group; def fno_strict_enums : Flag<["-"], "fno-strict-enums">, Group; -def fno_strict_vtable_pointers: Flag<["-"], "fno-strict-vtable-pointers">, +def fno_strict_vtable_pointers: Flag<["-"], "fno-strict-vtable-pointers">, Group; def fno_strict_overflow : Flag<["-"], "fno-strict-overflow">, Group; def fno_threadsafe_statics : Flag<["-"], "fno-threadsafe-statics">, Group, @@ -959,7 +959,7 @@ def fobjc_gc : Flag<["-"], "fobjc-gc">, Group, Flags<[CC1Option]>, HelpText<"Enable Objective-C garbage collection">; def fobjc_legacy_dispatch : Flag<["-"], "fobjc-legacy-dispatch">, Group; def fobjc_new_property : Flag<["-"], "fobjc-new-property">, 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; def fno_objc_infer_related_result_type : Flag<["-"], "fno-objc-infer-related-result-type">, Group, @@ -1053,7 +1053,7 @@ def fstrict_aliasing : Flag<["-"], "fstrict-aliasing">, Group, def fstrict_enums : Flag<["-"], "fstrict-enums">, 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, 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 2849d513df..ae876a6e09 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