[ODRHash] Move inherited visitor call to end of function.

llvm-svn: 296221
This commit is contained in:
Richard Trieu 2017-02-25 01:29:34 +00:00
parent 3e2b6925b9
commit ff60e0f898
1 changed files with 2 additions and 2 deletions

View File

@ -182,8 +182,6 @@ public:
}
void VisitFieldDecl(const FieldDecl *D) {
Inherited::VisitFieldDecl(D);
const bool IsBitfield = D->isBitField();
Hash.AddBoolean(IsBitfield);
@ -193,6 +191,8 @@ public:
Hash.AddBoolean(D->isMutable());
AddStmt(D->getInClassInitializer());
Inherited::VisitFieldDecl(D);
}
};