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 | ff60e0f898f767228deb95681ba6ed3f9fabe765 (patch) | |
tree | f90df04dfcf8ed9f9f760624f1bdcf8f52728129 | |
parent | 3e2b6925b96788e577f5969ba394dea98e9b8586 (diff) | |
download | bcm5719-llvm-ff60e0f898f767228deb95681ba6ed3f9fabe765.tar.gz bcm5719-llvm-ff60e0f898f767228deb95681ba6ed3f9fabe765.zip |
[ODRHash] Move inherited visitor call to end of function.
llvm-svn: 296221
-rw-r--r-- | clang/lib/AST/ODRHash.cpp | 4 |
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); } }; |