summaryrefslogtreecommitdiffstats
path: root/include/clang/AST/DeclCXX.h
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-08-12 02:21:25 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-08-12 02:21:25 +0000
commitbcd0b9f9023b35616284426cc1e049c0a1232460 (patch)
treedbc18855aaf0f5fa3334dbdc12ea6e4744032a1a /include/clang/AST/DeclCXX.h
parenteb66e2ffe787658976e133ab9a69d0e9a9cf3ac5 (diff)
P0217R3: serialization/deserialization support for c++17 decomposition declarations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/DeclCXX.h')
-rw-r--r--include/clang/AST/DeclCXX.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/AST/DeclCXX.h b/include/clang/AST/DeclCXX.h
index 48ada29bb6..5a692e97ce 100644
--- a/include/clang/AST/DeclCXX.h
+++ b/include/clang/AST/DeclCXX.h
@@ -3414,6 +3414,8 @@ public:
static bool classof(const Decl *D) { return classofKind(D->getKind()); }
static bool classofKind(Kind K) { return K == Decl::Binding; }
+
+ friend class ASTDeclReader;
};
/// A decomposition declaration. For instance, given:
@@ -3463,6 +3465,7 @@ public:
static bool classofKind(Kind K) { return K == Decomposition; }
friend TrailingObjects;
+ friend class ASTDeclReader;
};
/// An instance of this class represents the declaration of a property