summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Scope.cpp
diff options
context:
space:
mode:
authorBrian Gesiak <modocache@gmail.com>2019-03-22 16:08:29 +0000
committerBrian Gesiak <modocache@gmail.com>2019-03-22 16:08:29 +0000
commite8b3d63dd5bbd011306511a4ae1cdbd8e4915e5e (patch)
treeda2b81bd001eba70b8bdb601d3ce06263c24e0c0 /clang/lib/Sema/Scope.cpp
parent4c2ef9a02be0562c48143b28bd239e8c42df6ce0 (diff)
downloadbcm5719-llvm-e8b3d63dd5bbd011306511a4ae1cdbd8e4915e5e.tar.gz
bcm5719-llvm-e8b3d63dd5bbd011306511a4ae1cdbd8e4915e5e.zip
Revert "[coroutines][PR40978] Emit error for co_yield within catch block"
The commit https://reviews.llvm.org/rC356296 is causing a regression in nested catch scopes, https://bugs.llvm.org/show_bug.cgi?id=41171. Revert this change for now in order to un-break that problem report. llvm-svn: 356774
Diffstat (limited to 'clang/lib/Sema/Scope.cpp')
-rw-r--r--clang/lib/Sema/Scope.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/Sema/Scope.cpp b/clang/lib/Sema/Scope.cpp
index 51b0b24e57b..09940688efa 100644
--- a/clang/lib/Sema/Scope.cpp
+++ b/clang/lib/Sema/Scope.cpp
@@ -166,9 +166,7 @@ void Scope::dumpImpl(raw_ostream &OS) const {
{SEHExceptScope, "SEHExceptScope"},
{SEHFilterScope, "SEHFilterScope"},
{CompoundStmtScope, "CompoundStmtScope"},
- {ClassInheritanceScope, "ClassInheritanceScope"},
- {CatchScope, "CatchScope"},
- };
+ {ClassInheritanceScope, "ClassInheritanceScope"}};
for (auto Info : FlagInfo) {
if (Flags & Info.first) {
OpenPOWER on IntegriCloud