llvm-project/lldb/source/Plugins
Sean Callanan c02a1c0312 [Expression parser] Return both types and variables
Many times a user wants to access a type when there's a variable of
the same name, or a variable when there's a type of the same name.
Depending on the precise context, currently the expression parser
can fail to resolve one or the other.

This is because ClangExpressionDeclMap has logic to limit the
amount of information it searches, and that logic sometimes cuts
down the search prematurely. This patch removes some of those early
exits.

In that sense, this patch trades performance (early exit is faster)
for correctness.

I've also included two new test cases showing examples of this
behavior – as well as modifying an existing test case that gets it
wrong.

llvm-svn: 301273
2017-04-24 23:14:04 +00:00
..
ABI Move DataBuffer / DataExtractor and friends from Core -> Utility. 2017-03-04 01:30:05 +00:00
Disassembler Move DataBuffer / DataExtractor and friends from Core -> Utility. 2017-03-04 01:30:05 +00:00
DynamicLoader Battery of NetBSD support improvements 2017-03-30 20:25:29 +00:00
ExpressionParser [Expression parser] Return both types and variables 2017-04-24 23:14:04 +00:00
Instruction [ARM/Emulation] Remove an unneeded comparison and simplify. NFCI. 2017-04-14 22:27:28 +00:00
InstrumentationRuntime ThreadSanitizer plugin: match for loop variable with expected type 2017-04-22 01:38:54 +00:00
JITLoader iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
Language Add libc++ category to the remaining libc++ data formatters 2017-04-12 12:32:58 +00:00
LanguageRuntime Teach RenderScriptRuntime about changed context representation. 2017-04-19 18:14:21 +00:00
MemoryHistory [CMake] [2/4] Update a batch of plugins 2017-01-31 22:23:49 +00:00
ObjectContainer Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
ObjectFile Don't use uuid_clear(), non-darwin platforms include 2017-04-13 02:12:32 +00:00
OperatingSystem Move DataBuffer / DataExtractor and friends from Core -> Utility. 2017-03-04 01:30:05 +00:00
Platform Add extra logging for when lldb is looking for kernels and kexts. 2017-04-20 02:02:25 +00:00
Process [Utility] Placate another GCC warning. 2017-04-20 14:45:33 +00:00
ScriptInterpreter Move StringList from Core -> Utility. 2017-03-21 18:25:04 +00:00
StructuredData Delete some more dead includes. 2017-03-22 23:33:16 +00:00
SymbolFile [DWARF] Fix lookup in the abstract origins of inlined blocks/functions 2017-04-24 22:11:10 +00:00
SymbolVendor Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SystemRuntime Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
UnwindAssembly PluginUnwindAssemblyX86: add missing linkage to MCDisasm 2017-03-25 18:51:37 +00:00
CMakeLists.txt Add StructuredData plugin type; showcase with new DarwinLog feature 2016-08-19 04:21:48 +00:00