diff options
author | John McCall <rjmccall@apple.com> | 2010-08-13 03:01:11 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-08-13 03:01:11 +0000 |
commit | 40db2991d746a2901d6441cee261552a20a4a48a (patch) | |
tree | 74b3732d18bf1066f37c0fd6e4aeb694285ce3f0 | |
parent | b8592063413d277f6583715c9a890bd58440c1d1 (diff) |
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
-rw-r--r-- | include/clang/Sema/Sema.h | 4 |
1 files changed, 2 insertions, 2 deletions
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, |