diff options
Diffstat (limited to 'include/clang/AST/DeclBase.h')
-rw-r--r-- | include/clang/AST/DeclBase.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h index c44515eaa4..7670798d13 100644 --- a/include/clang/AST/DeclBase.h +++ b/include/clang/AST/DeclBase.h @@ -310,6 +310,10 @@ public: } } + bool isCXXRecord() const { + return DeclKind == Decl::CXXRecord; + } + const ScopedDecl *getDeclChain() const { return DeclChain; } ScopedDecl *getDeclChain() { return DeclChain; } void setDeclChain(ScopedDecl *D) { DeclChain = D; } |