From 2abeb12df67d7e703fda7deb3b05484b95db3a96 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 28 Oct 2006 19:51:26 +0000 Subject: [PATCH] Fix building after the pure virtual function name changed. llvm-svn: 39075 --- clang/AST/Sema.cpp | 4 ++-- clang/Sema/Sema.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clang/AST/Sema.cpp b/clang/AST/Sema.cpp index 0ff8c034b23b..5cd84beb9f15 100644 --- a/clang/AST/Sema.cpp +++ b/clang/AST/Sema.cpp @@ -44,7 +44,7 @@ public: //===--------------------------------------------------------------------===// // Symbol table tracking callbacks. // - virtual bool isTypedefName(const IdentifierInfo &II, Scope *S) const; + virtual bool isTypeName(const IdentifierInfo &II, Scope *S) const; virtual DeclTy *ParseDeclarator(Scope *S, Declarator &D, ExprTy *Init, DeclTy *LastInGroup); virtual DeclTy *ParseFunctionDefinition(Scope *S, Declarator &D, @@ -127,7 +127,7 @@ public: // Symbol table tracking callbacks. //===----------------------------------------------------------------------===// -bool ASTBuilder::isTypedefName(const IdentifierInfo &II, Scope *S) const { +bool ASTBuilder::isTypeName(const IdentifierInfo &II, Scope *S) const { Decl *D = II.getFETokenInfo(); return D != 0 && D->getDeclSpec().StorageClassSpec == DeclSpec::SCS_typedef; } diff --git a/clang/Sema/Sema.cpp b/clang/Sema/Sema.cpp index 0ff8c034b23b..5cd84beb9f15 100644 --- a/clang/Sema/Sema.cpp +++ b/clang/Sema/Sema.cpp @@ -44,7 +44,7 @@ public: //===--------------------------------------------------------------------===// // Symbol table tracking callbacks. // - virtual bool isTypedefName(const IdentifierInfo &II, Scope *S) const; + virtual bool isTypeName(const IdentifierInfo &II, Scope *S) const; virtual DeclTy *ParseDeclarator(Scope *S, Declarator &D, ExprTy *Init, DeclTy *LastInGroup); virtual DeclTy *ParseFunctionDefinition(Scope *S, Declarator &D, @@ -127,7 +127,7 @@ public: // Symbol table tracking callbacks. //===----------------------------------------------------------------------===// -bool ASTBuilder::isTypedefName(const IdentifierInfo &II, Scope *S) const { +bool ASTBuilder::isTypeName(const IdentifierInfo &II, Scope *S) const { Decl *D = II.getFETokenInfo(); return D != 0 && D->getDeclSpec().StorageClassSpec == DeclSpec::SCS_typedef; }