summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-10-17 21:00:19 +0000
committerAlp Toker <alp@nuanti.com>2013-10-17 21:00:19 +0000
commitbe2a55f5ac9c02ac4b55112f27c3fb6bad6523cb (patch)
treea0b7cc120f66c27f2eb3a05c559f28b0836c969f /clang/lib/Sema/Sema.cpp
parenta0191d11014c8da974e8d94fc95bffe78abb24fb (diff)
downloadbcm5719-llvm-be2a55f5ac9c02ac4b55112f27c3fb6bad6523cb.tar.gz
bcm5719-llvm-be2a55f5ac9c02ac4b55112f27c3fb6bad6523cb.zip
Revert "Fix missed exception spec checks and crashes"
The changes caused the sanitizer bot to hang: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/2311 Needs investigation. This reverts commit r192914. llvm-svn: 192921
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
-rw-r--r--clang/lib/Sema/Sema.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Sema/Sema.cpp b/clang/lib/Sema/Sema.cpp
index 31de6524a44..59648441a6d 100644
--- a/clang/lib/Sema/Sema.cpp
+++ b/clang/lib/Sema/Sema.cpp
@@ -792,11 +792,6 @@ void Sema::ActOnEndOfTranslationUnit() {
}
}
- // All delayed member exception specs should be checked or we end up accepting
- // incompatible declarations.
- assert(DelayedDefaultedMemberExceptionSpecs.empty());
- assert(DelayedDestructorExceptionSpecChecks.empty());
-
// Check we've noticed that we're no longer parsing the initializer for every
// variable. If we miss cases, then at best we have a performance issue and
// at worst a rejects-valid bug.
OpenPOWER on IntegriCloud