Fixed a problem where local variables conflict with
types of the same name.  If a local variable with the
given name is found (and we are not searching a
specific namespace) we stop right then and there and
report it.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142962 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangExpressionDeclMap.cpp b/source/Expression/ClangExpressionDeclMap.cpp
index 5566091..1093932 100644
--- a/source/Expression/ClangExpressionDeclMap.cpp
+++ b/source/Expression/ClangExpressionDeclMap.cpp
@@ -2443,6 +2443,7 @@
             {
                 AddOneVariable(context, var, current_id);
                 context.m_found.variable = true;
+                return;
             }
         }
         else if (target)