summaryrefslogtreecommitdiffstats
path: root/include/clang/Sema/Scope.h
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
commit55c482d7c1862a534afabee4bec00995226e5c89 (patch)
treedff9b89fee31ee711e8a2d1417e6f313f047e2b4 /include/clang/Sema/Scope.h
parent29f42bb2962f052b4bf94caa9ead47a30f9911d7 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/Scope.h')
-rw-r--r--include/clang/Sema/Scope.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/clang/Sema/Scope.h b/include/clang/Sema/Scope.h
index 7848df8f70..a1b451c85e 100644
--- a/include/clang/Sema/Scope.h
+++ b/include/clang/Sema/Scope.h
@@ -131,9 +131,6 @@ public:
/// We are between inheritance colon and the real class/struct definition scope.
ClassInheritanceScope = 0x800000,
-
- /// This is the scope of a C++ catch statement.
- CatchScope = 0x1000000,
};
private: