From: Rafael Espindola Date: Fri, 27 Sep 2013 16:58:26 +0000 (+0000) Subject: Remove method that always returns true. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dea69a1149c5a77db69e037c9619a52d45fcf4a9;p=clang Remove method that always returns true. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191533 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/ToolChain.h b/include/clang/Driver/ToolChain.h index ba7aa64e60..57381e5124 100644 --- a/include/clang/Driver/ToolChain.h +++ b/include/clang/Driver/ToolChain.h @@ -182,10 +182,6 @@ public: /// IsMathErrnoDefault - Does this tool chain use -fmath-errno by default. virtual bool IsMathErrnoDefault() const { return true; } - /// IsObjCDefaultSynthPropertiesDefault - Does this tool chain enable - /// -fobjc-default-synthesize-properties by default. - virtual bool IsObjCDefaultSynthPropertiesDefault() const { return true; } - /// IsEncodeExtendedBlockSignatureDefault - Does this tool chain enable /// -fencode-extended-block-signature by default. virtual bool IsEncodeExtendedBlockSignatureDefault() const { return false; } diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index e5f2681f7b..6edb44732f 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -3192,9 +3192,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, // -fobjc-default-synthesize-properties=1 is default. This only has an effect // if the nonfragile objc abi is used. - if (getToolChain().IsObjCDefaultSynthPropertiesDefault()) { - CmdArgs.push_back("-fobjc-default-synthesize-properties"); - } + CmdArgs.push_back("-fobjc-default-synthesize-properties"); // -fencode-extended-block-signature=1 is default. if (getToolChain().IsEncodeExtendedBlockSignatureDefault()) {