summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/RecordLayoutBuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/RecordLayoutBuilder.h')
-rw-r--r--clang/lib/AST/RecordLayoutBuilder.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/AST/RecordLayoutBuilder.h b/clang/lib/AST/RecordLayoutBuilder.h
index 05944ece7da..24a185c8abf 100644
--- a/clang/lib/AST/RecordLayoutBuilder.h
+++ b/clang/lib/AST/RecordLayoutBuilder.h
@@ -53,7 +53,8 @@ class ASTRecordLayoutBuilder {
void LayoutFields(const RecordDecl *D);
void LayoutField(const FieldDecl *D);
- void SelectPrimaryBase(const CXXRecordDecl *RD);
+ void SelectPrimaryBase(const CXXRecordDecl *RD,
+ llvm::SmallSet<const CXXRecordDecl*, 32> &IndirectPrimary);
void SelectPrimaryVBase(const CXXRecordDecl *RD,
const CXXRecordDecl *&FirstPrimary,
llvm::SmallSet<const CXXRecordDecl*, 32> &IndirectPrimary);
@@ -64,7 +65,8 @@ class ASTRecordLayoutBuilder {
PrimaryBaseWasVirtual = Virtual;
}
bool IsNearlyEmpty(const CXXRecordDecl *RD);
- void LayoutVtable(const CXXRecordDecl *RD);
+ void LayoutVtable(const CXXRecordDecl *RD,
+ llvm::SmallSet<const CXXRecordDecl*, 32> &IndirectPrimary);
void LayoutNonVirtualBases(const CXXRecordDecl *RD);
void LayoutBaseNonVirtually(const CXXRecordDecl *RD);
void LayoutVirtualBase(const CXXRecordDecl *RD);
OpenPOWER on IntegriCloud