diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-02-04 19:16:12 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-02-04 19:16:12 +0000 |
commit | d6efafa5144a3e9942d1b09a246b118b1ba77a48 (patch) | |
tree | f3782ea1a6ee3176fe152a970a3fe91f16c5ee4e /include/clang/Parse/Action.h | |
parent | 18d76c27176dcb9f4be4eaf7768100075f180f3f (diff) |
Improve documentation for Sema::getTypeName. Also, it's return type is
DeclTy*, not TypeTy*.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Parse/Action.h')
-rw-r--r-- | include/clang/Parse/Action.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h index bf67b7873f..2a860a849d 100644 --- a/include/clang/Parse/Action.h +++ b/include/clang/Parse/Action.h @@ -135,7 +135,7 @@ public: /// An optional CXXScopeSpec can be passed to indicate the C++ scope (class or /// namespace) that the identifier must be a member of. /// i.e. for "foo::bar", 'II' will be "bar" and 'SS' will be "foo::". - virtual TypeTy *getTypeName(IdentifierInfo &II, SourceLocation NameLoc, + virtual DeclTy *getTypeName(IdentifierInfo &II, SourceLocation NameLoc, Scope *S, const CXXScopeSpec *SS = 0) = 0; /// isCurrentClassName - Return true if the specified name is the @@ -1348,7 +1348,7 @@ public: /// getTypeName - This looks at the IdentifierInfo::FETokenInfo field to /// determine whether the name is a typedef or not in this scope. - virtual TypeTy *getTypeName(IdentifierInfo &II, SourceLocation NameLoc, + virtual DeclTy *getTypeName(IdentifierInfo &II, SourceLocation NameLoc, Scope *S, const CXXScopeSpec *SS); /// isCurrentClassName - Always returns false, because MinimalAction |