[ODRHash] Move inherited visitor call to end of function.
llvm-svn: 296221
diff --git a/clang/lib/AST/ODRHash.cpp b/clang/lib/AST/ODRHash.cpp
index 28b2eff..d8c2e20 100644
--- a/clang/lib/AST/ODRHash.cpp
+++ b/clang/lib/AST/ODRHash.cpp
@@ -182,8 +182,6 @@
}
void VisitFieldDecl(const FieldDecl *D) {
- Inherited::VisitFieldDecl(D);
-
const bool IsBitfield = D->isBitField();
Hash.AddBoolean(IsBitfield);
@@ -193,6 +191,8 @@
Hash.AddBoolean(D->isMutable());
AddStmt(D->getInClassInitializer());
+
+ Inherited::VisitFieldDecl(D);
}
};