From: John McCall Date: Fri, 13 Aug 2010 03:01:11 +0000 (+0000) Subject: Make two methods have compatible signatures with the methods they override. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40db2991d746a2901d6441cee261552a20a4a48a;p=clang Make two methods have compatible signatures with the methods they override. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111002 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h index c2a1ea7b1e..fdf91db8f5 100644 --- a/include/clang/Sema/Sema.h +++ b/include/clang/Sema/Sema.h @@ -844,7 +844,7 @@ public: void DiagnoseUseOfUnimplementedSelectors(); virtual TypeTy *getTypeName(IdentifierInfo &II, SourceLocation NameLoc, - Scope *S, CXXScopeSpec *SS, + Scope *S, CXXScopeSpec *SS = 0, bool isClassName = false, TypeTy *ObjectType = 0); virtual DeclSpec::TST isTagName(IdentifierInfo &II, Scope *S); @@ -2689,7 +2689,7 @@ public: // C++ Classes // virtual bool isCurrentClassName(const IdentifierInfo &II, Scope *S, - const CXXScopeSpec *SS); + const CXXScopeSpec *SS = 0); virtual DeclPtrTy ActOnAccessSpecifier(AccessSpecifier Access, SourceLocation ASLoc,