diff options
| author | Richard Trieu <rtrieu@google.com> | 2017-02-17 07:19:24 +0000 |
|---|---|---|
| committer | Richard Trieu <rtrieu@google.com> | 2017-02-17 07:19:24 +0000 |
| commit | dc4cb02470d9046d9f11129c0e09fbf18a8b34ad (patch) | |
| tree | 427b82b3ae548cb640e3945840f6b835a835d52b /clang/lib/Sema | |
| parent | cbd1b60e424454320f695adc48099a246cf556bc (diff) | |
| download | bcm5719-llvm-dc4cb02470d9046d9f11129c0e09fbf18a8b34ad.tar.gz bcm5719-llvm-dc4cb02470d9046d9f11129c0e09fbf18a8b34ad.zip | |
Revert r295421, new ODR checker for modules, to fix build bot.
llvm-svn: 295427
Diffstat (limited to 'clang/lib/Sema')
| -rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 27203c0296d..3905348d3ca 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -13775,11 +13775,8 @@ void Sema::ActOnTagFinishDefinition(Scope *S, Decl *TagD, RD->completeDefinition(); } - if (auto *RD = dyn_cast<CXXRecordDecl>(Tag)) { + if (isa<CXXRecordDecl>(Tag)) FieldCollector->FinishClass(); - if (Context.getLangOpts().Modules) - RD->computeODRHash(); - } // Exit this scope of this tag's definition. PopDeclContext(); |

