]> granicus.if.org Git - clang/commitdiff
No need to use PNaCl's calling convention since PNaCl now uses a separate approach...
authorJF Bastien <jfb@google.com>
Fri, 12 Sep 2014 17:52:51 +0000 (17:52 +0000)
committerJF Bastien <jfb@google.com>
Fri, 12 Sep 2014 17:52:51 +0000 (17:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217696 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index ef5dc4f88ad07f7642a68f21a9f715f516f590ad..9a307d30ab953d8e1c8f0122a6483d068157b145 100644 (file)
@@ -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.