From: JF Bastien Date: Fri, 12 Sep 2014 17:52:51 +0000 (+0000) Subject: No need to use PNaCl's calling convention since PNaCl now uses a separate approach... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4722a1987c97a6770ae032fd8c03b30cd64c3892;p=clang No need to use PNaCl's calling convention since PNaCl now uses a separate approach for calling conventions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217696 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index ef5dc4f88a..9a307d30ab 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -6006,9 +6006,6 @@ public: } bool hasProtectedVisibility() const override { return false; } - CallingConvCheckResult checkCallingConvention(CallingConv CC) const override { - return CC == CC_PnaclCall ? CCCR_OK : CCCR_Warning; - } }; } // end anonymous namespace.