diff options
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index 54e6f4a0cf..110a626835 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -1208,7 +1208,8 @@ public: bool CorrectTypo(LookupResult &R, Scope *S, const CXXScopeSpec *SS, DeclContext *MemberContext = 0, - bool EnteringContext = false); + bool EnteringContext = false, + const ObjCObjectPointerType *OPT = 0); void FindAssociatedClassesAndNamespaces(Expr **Args, unsigned NumArgs, AssociatedNamespaceSet &AssociatedNamespaces, @@ -1217,7 +1218,8 @@ public: bool DiagnoseAmbiguousLookup(LookupResult &Result); //@} - ObjCInterfaceDecl *getObjCInterfaceDecl(IdentifierInfo *Id); + ObjCInterfaceDecl *getObjCInterfaceDecl(IdentifierInfo *&Id, + SourceLocation RecoverLoc = SourceLocation()); NamedDecl *LazilyCreateBuiltin(IdentifierInfo *II, unsigned ID, Scope *S, bool ForRedeclaration, SourceLocation Loc); |