diff options
author | Richard Trieu <rtrieu@google.com> | 2017-02-24 23:35:37 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2017-02-24 23:35:37 +0000 |
commit | 8d543e2741c1fac6b002fb87e47dfc0b8ee0c212 (patch) | |
tree | fe911b220a40d2544b52a157aac3884aad30bf0b /clang/lib/AST/ODRHash.cpp | |
parent | 0d67b10a3c95dc61cd4b56ba51e86ddc47d92cb2 (diff) |
[ODRHash] Finish FieldDecl support by handling mutable and initializers.
https://reviews.llvm.org/rL296170
llvm-svn: 296198
Diffstat (limited to 'clang/lib/AST/ODRHash.cpp')
-rw-r--r-- | clang/lib/AST/ODRHash.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/AST/ODRHash.cpp b/clang/lib/AST/ODRHash.cpp index 208d5f3c49c5..28b2eff63397 100644 --- a/clang/lib/AST/ODRHash.cpp +++ b/clang/lib/AST/ODRHash.cpp @@ -190,6 +190,9 @@ public: if (IsBitfield) { AddStmt(D->getBitWidth()); } + + Hash.AddBoolean(D->isMutable()); + AddStmt(D->getInClassInitializer()); } }; |