[Lldb-commits] [PATCH] D14542: [lldb] Fix name lookup in ClangASTContext

Dawn Perchik via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 12 13:49:12 PST 2015


dawn added a comment.

See inline comment.


================
Comment at: source/Symbol/ClangASTContext.cpp:9191
@@ -9189,2 +9190,3 @@
+                    continue;
                 searched.insert(it->second);
                 symbol_file->ParseDeclsForContext(CompilerDeclContext(this, it->second));
----------------
Minor efficiency improvement - change these 3 lines to:
                if (!searched.insert(it->second).first)
                    continue;
No need for new patch - just change in final commit.


http://reviews.llvm.org/D14542





More information about the lldb-commits mailing list