summaryrefslogtreecommitdiffstats
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
commitff60e0f898f767228deb95681ba6ed3f9fabe765 (patch)
treef90df04dfcf8ed9f9f760624f1bdcf8f52728129
parent3e2b6925b96788e577f5969ba394dea98e9b8586 (diff)
downloadbcm5719-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.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