summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ODRHash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/ODRHash.cpp')
-rw-r--r--clang/lib/AST/ODRHash.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/ODRHash.cpp b/clang/lib/AST/ODRHash.cpp
index 28b2eff6339..d8c2e20ede6 100644
--- a/clang/lib/AST/ODRHash.cpp
+++ b/clang/lib/AST/ODRHash.cpp
@@ -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);
}
};
OpenPOWER on IntegriCloud