[cfe-commits] r111002 - /cfe/trunk/include/clang/Sema/Sema.h
John McCall
rjmccall at apple.com
Thu Aug 12 20:01:12 PDT 2010
Author: rjmccall
Date: Thu Aug 12 22:01:11 2010
New Revision: 111002
URL: http://llvm.org/viewvc/llvm-project?rev=111002&view=rev
Log:
Make two methods have compatible signatures with the methods they override.
Modified:
cfe/trunk/include/clang/Sema/Sema.h
Modified: cfe/trunk/include/clang/Sema/Sema.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/Sema.h?rev=111002&r1=111001&r2=111002&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/Sema.h (original)
+++ cfe/trunk/include/clang/Sema/Sema.h Thu Aug 12 22:01:11 2010
@@ -844,7 +844,7 @@
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 @@
// C++ Classes
//
virtual bool isCurrentClassName(const IdentifierInfo &II, Scope *S,
- const CXXScopeSpec *SS);
+ const CXXScopeSpec *SS = 0);
virtual DeclPtrTy ActOnAccessSpecifier(AccessSpecifier Access,
SourceLocation ASLoc,
More information about the cfe-commits
mailing list