]> granicus.if.org Git - clang/commitdiff
Make two methods have compatible signatures with the methods they override.
authorJohn McCall <rjmccall@apple.com>
Fri, 13 Aug 2010 03:01:11 +0000 (03:01 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 13 Aug 2010 03:01:11 +0000 (03:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111002 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Sema/Sema.h

index c2a1ea7b1eaf43e8b8260886862aaa0aa84d12fa..fdf91db8f54dd8d2f69aab9eea3608b1051ef87c 100644 (file)
@@ -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,