summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2017-02-25 01:29:34 +0000
committerRichard Trieu <rtrieu@google.com>2017-02-25 01:29:34 +0000
commit8989fd32d7473f2f82da784f9f1d50530fe2218b (patch)
treeefc6d949865f9187bcd14d7599a8d7886ba3c378 /lib
parent93c4374fe32651bcf27ea9c3a76ee4912ff49fd3 (diff)
downloadclang-8989fd32d7473f2f82da784f9f1d50530fe2218b.tar.gz
[ODRHash] Move inherited visitor call to end of function.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/AST/ODRHash.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AST/ODRHash.cpp b/lib/AST/ODRHash.cpp
index 28b2eff633..d8c2e20ede 100644
--- a/lib/AST/ODRHash.cpp
+++ b/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);
}
};