summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2015-09-02 16:40:59 +0000
committerSean Callanan <scallanan@apple.com>2015-09-02 16:40:59 +0000
commitecb17985c56badf4b3485cd7696dacb24626fdeb (patch)
tree68b160fcb0279df79d374151cad5c38af1aedb6d /lldb/source
parent4a2a71fbe481c04fb99e1fdac2e976c218c8ca59 (diff)
downloadbcm5719-llvm-ecb17985c56badf4b3485cd7696dacb24626fdeb.tar.gz
bcm5719-llvm-ecb17985c56badf4b3485cd7696dacb24626fdeb.zip
Removed comments that suggested that asserts in the ClangASTImporter should be
debug-only. This is not the case; when they fire we are about to crash or do something horrible anyway, so they should stay in. llvm-svn: 246667
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Symbol/ClangASTImporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Symbol/ClangASTImporter.cpp b/lldb/source/Symbol/ClangASTImporter.cpp
index 5ae31ae7e9d..ea4ccbf4e8b 100644
--- a/lldb/source/Symbol/ClangASTImporter.cpp
+++ b/lldb/source/Symbol/ClangASTImporter.cpp
@@ -607,7 +607,7 @@ void
ClangASTImporter::Minion::InitDeportWorkQueues (std::set<clang::NamedDecl *> *decls_to_deport,
std::set<clang::NamedDecl *> *decls_already_deported)
{
- assert(!m_decls_to_deport); // TODO make debug only
+ assert(!m_decls_to_deport);
assert(!m_decls_already_deported);
m_decls_to_deport = decls_to_deport;
@@ -617,7 +617,7 @@ ClangASTImporter::Minion::InitDeportWorkQueues (std::set<clang::NamedDecl *> *de
void
ClangASTImporter::Minion::ExecuteDeportWorkQueues ()
{
- assert(m_decls_to_deport); // TODO make debug only
+ assert(m_decls_to_deport);
assert(m_decls_already_deported);
ASTContextMetadataSP to_context_md = m_master.GetContextMetadata(&getToContext());
OpenPOWER on IntegriCloud