diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-08-31 00:36:36 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-08-31 00:36:36 +0000 |
commit | 4e4d57069cf9402728e05f7fc856295a86e4801f (patch) | |
tree | f0f87d6cdc817bc00271c364ce260cfd796f5771 /lib/AST/DeclBase.cpp | |
parent | 7a126a474fdde06382b315b4e3d8ef0a21d4dc31 (diff) |
Enable inline namespaces in the AST.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclBase.cpp')
-rw-r--r-- | lib/AST/DeclBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp index 0316124fbe..ca88377034 100644 --- a/lib/AST/DeclBase.cpp +++ b/lib/AST/DeclBase.cpp @@ -510,7 +510,7 @@ bool DeclContext::isTransparentContext() const { else if (DeclKind >= Decl::firstRecord && DeclKind <= Decl::lastRecord) return cast<RecordDecl>(this)->isAnonymousStructOrUnion(); else if (DeclKind == Decl::Namespace) - return false; // FIXME: Check for C++0x inline namespaces + return cast<NamespaceDecl>(this)->isInline(); return false; } |