diff options
author | Daniel Jasper <djasper@google.com> | 2017-05-15 07:51:10 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2017-05-15 07:51:10 +0000 |
commit | ffd03c81d3b17bd25a9f3c6b22fc1b650f65a505 (patch) | |
tree | bdd38202eb67648c05baffc6bec3c0650022744e /include/clang/Basic/LangOptions.h | |
parent | ec74f24432d7d16a2fcc442bc9ffa382cf6ac5f7 (diff) |
Revert r302965 - [modules] When creating a declaration, cache its owning
module immediately
Also revert dependent r302969. This is leading to crashes.
Will provide more details reproduction instructions to Richard.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@303037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/LangOptions.h')
-rw-r--r-- | include/clang/Basic/LangOptions.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/clang/Basic/LangOptions.h b/include/clang/Basic/LangOptions.h index ceaedf5857..20a0e58456 100644 --- a/include/clang/Basic/LangOptions.h +++ b/include/clang/Basic/LangOptions.h @@ -166,11 +166,6 @@ public: return getCompilingModule() != CMK_None; } - /// Do we need to track the owning module for a local declaration? - bool trackLocalOwningModule() const { - return ModulesLocalVisibility; - } - bool isSignedOverflowDefined() const { return getSignedOverflowBehavior() == SOB_Defined; } |