From 957a872cb1ff297dcef7bbb477f9150ed925610c Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Sat, 6 Dec 2014 02:31:49 +0000 Subject: [PATCH] Fixed an unfortunate reversed conditional that resulted in hard-to-track-down crashes. Sigh. llvm-svn: 223575 --- lldb/source/Symbol/ClangExternalASTSourceCommon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Symbol/ClangExternalASTSourceCommon.cpp b/lldb/source/Symbol/ClangExternalASTSourceCommon.cpp index 092e8de..79cc9a9 100644 --- a/lldb/source/Symbol/ClangExternalASTSourceCommon.cpp +++ b/lldb/source/Symbol/ClangExternalASTSourceCommon.cpp @@ -30,7 +30,7 @@ ClangExternalASTSourceCommon::Lookup(clang::ExternalASTSource *source) ASTSourceMap::iterator iter = source_map.find(source); - if (iter == source_map.end()) + if (iter != source_map.end()) { return iter->second; } -- 2.7.4