From 9ef1518fb0e7ab7586655265de5f69c9310bc2e6 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Sat, 5 Jan 2013 21:54:55 +0000 Subject: [PATCH] Fixes a breakage in dejagnu++ test suite where it included . Caused by my recent changes for various builtin declarations of objc_msgSendSuper variety. // rdar://12489098 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171638 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaDecl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 3bbb9a4cfd..84b0d3f36b 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -6273,6 +6273,7 @@ bool Sema::CheckFunctionDeclaration(Scope *S, FunctionDecl *NewFD, // 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, -- 2.40.0