diff options
author | Richard Trieu <rtrieu@google.com> | 2017-02-25 01:29:34 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2017-02-25 01:29:34 +0000 |
commit | 8989fd32d7473f2f82da784f9f1d50530fe2218b (patch) | |
tree | efc6d949865f9187bcd14d7599a8d7886ba3c378 /lib | |
parent | 93c4374fe32651bcf27ea9c3a76ee4912ff49fd3 (diff) | |
download | clang-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.cpp | 4 |
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); } }; |