[cfe-commits] r39075 - in /cfe/cfe/trunk: AST/Sema.cpp Sema/Sema.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:27:20 PDT 2007
Author: sabre
Date: Wed Jul 11 11:27:20 2007
New Revision: 39075
URL: http://llvm.org/viewvc/llvm-project?rev=39075&view=rev
Log:
Fix building after the pure virtual function name changed.
Modified:
cfe/cfe/trunk/AST/Sema.cpp
cfe/cfe/trunk/Sema/Sema.cpp
Modified: cfe/cfe/trunk/AST/Sema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/AST/Sema.cpp?rev=39075&r1=39074&r2=39075&view=diff
==============================================================================
--- cfe/cfe/trunk/AST/Sema.cpp (original)
+++ cfe/cfe/trunk/AST/Sema.cpp Wed Jul 11 11:27:20 2007
@@ -44,7 +44,7 @@
//===--------------------------------------------------------------------===//
// 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 @@
// 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<Decl>();
return D != 0 && D->getDeclSpec().StorageClassSpec == DeclSpec::SCS_typedef;
}
Modified: cfe/cfe/trunk/Sema/Sema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Sema/Sema.cpp?rev=39075&r1=39074&r2=39075&view=diff
==============================================================================
--- cfe/cfe/trunk/Sema/Sema.cpp (original)
+++ cfe/cfe/trunk/Sema/Sema.cpp Wed Jul 11 11:27:20 2007
@@ -44,7 +44,7 @@
//===--------------------------------------------------------------------===//
// 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 @@
// 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<Decl>();
return D != 0 && D->getDeclSpec().StorageClassSpec == DeclSpec::SCS_typedef;
}
More information about the cfe-commits
mailing list