diff options
Diffstat (limited to 'lib/AST/Decl.cpp')
-rw-r--r-- | lib/AST/Decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index 38a20c1c01..b1a2499949 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp @@ -335,7 +335,7 @@ const Attr *Decl::getAttrs() const { ContextDecl *ContextDecl::getParent() const { if (ScopedDecl *SD = dyn_cast<ScopedDecl>(this)) - return SD->getContext(); + return SD->getContextDecl(); else return NULL; } |