diff options
Diffstat (limited to 'include/clang/AST/Type.h')
-rw-r--r-- | include/clang/AST/Type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 6c4ad893b4..7a522f42fa 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -3038,7 +3038,7 @@ class ObjCInterfaceType : public ObjCObjectType { friend class ASTContext; // ASTContext creates these. public: /// getDecl - Get the declaration of this interface. - ObjCInterfaceDecl *getDecl() const; + ObjCInterfaceDecl *getDecl() const { return Decl; } bool isSugared() const { return false; } QualType desugar() const { return QualType(this, 0); } |