when a typedef name is parsed as part of declspecs, remember the decl for the
typedef.
llvm-svn: 39188
diff --git a/clang/Sema/Sema.h b/clang/Sema/Sema.h
index ff51109..d1d57c4 100644
--- a/clang/Sema/Sema.h
+++ b/clang/Sema/Sema.h
@@ -53,7 +53,7 @@
//===--------------------------------------------------------------------===//
// Symbol table / Decl tracking callbacks: SemaDecl.cpp.
//
- virtual bool isTypeName(const IdentifierInfo &II, Scope *S) const;
+ virtual DeclTy *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,