diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-07-29 00:44:13 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-07-29 00:44:13 +0000 |
commit | a91d6a6619a91d0ca7102d8ab5678d855f04d850 (patch) | |
tree | a4a6d23ff32429ce61f5b0ab3d8c32a7af29f895 /include/clang/AST/Type.h | |
parent | 87e5732f3307c838fff6adea8ba50147110fe092 (diff) |
Code refactoring to define getCXXRecordDeclForPointerType
and use it in several places.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77411 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/Type.h')
-rw-r--r-- | include/clang/AST/Type.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 70a5931225..be018026e3 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -464,7 +464,8 @@ public: const ObjCInterfaceType *getAsObjCInterfaceType() const; const ObjCInterfaceType *getAsObjCQualifiedInterfaceType() const; const TemplateTypeParmType *getAsTemplateTypeParmType() const; - + const CXXRecordDecl *getCXXRecordDeclForPointerType() const; + // Member-template getAs<specific type>'. This scheme will eventually // replace the specific getAsXXXX methods above. template <typename T> const T *getAs() const; |