[cfe-commits] r171638 - /cfe/trunk/lib/Sema/SemaDecl.cpp

Fariborz Jahanian fjahanian at apple.com
Sat Jan 5 13:54:55 PST 2013


Author: fjahanian
Date: Sat Jan  5 15:54:55 2013
New Revision: 171638

URL: http://llvm.org/viewvc/llvm-project?rev=171638&view=rev
Log:
Fixes a breakage in dejagnu++ test suite where it included
<objc/Protocol.h>. Caused by my recent changes for 
various builtin declarations of objc_msgSendSuper
variety. // rdar://12489098

Modified:
    cfe/trunk/lib/Sema/SemaDecl.cpp

Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=171638&r1=171637&r2=171638&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Sat Jan  5 15:54:55 2013
@@ -6273,6 +6273,7 @@
     // declaration against the expected type for the builtin. 
     if (unsigned BuiltinID = NewFD->getBuiltinID()) {
       ASTContext::GetBuiltinTypeError Error;
+      LookupPredefedObjCSuperType(*this, S, NewFD->getIdentifier());
       QualType T = Context.GetBuiltinType(BuiltinID, Error);
       if (!T.isNull() && !Context.hasSameType(T, NewFD->getType())) {
         // The type of this function differs from the type of the builtin,





More information about the cfe-commits mailing list