llvm-project/lldb/unittests
Eugene Zemtsov 699a748893 New C++ function name parsing logic
Current implementation of CPlusPlusLanguage::MethodName::Parse() doesn't
get anywhere close to covering full extent of possible function declarations.
It causes incorrect behavior in avoid-stepping and sometimes messes
printing of thread backtrace.

This change implements more methodical parsing logic based on clang
lexer and simple recursive parser.

Examples:
void std::vector<Class, std::allocator<Class>>::_M_emplace_back_aux<Class const&>(Class const&)
void (*&std::_Any_data::_M_access<void (*)()>())()

Differential Revision: https://reviews.llvm.org/D31451

llvm-svn: 299374
2017-04-03 18:59:34 +00:00
..
Breakpoint Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
Core Move many other files from Core -> Utility. 2017-03-06 18:34:25 +00:00
Editline Move StringList from Core -> Utility. 2017-03-21 18:25:04 +00:00
Expression [Windows] Remove the #include <eh.h> hack. 2017-03-03 20:21:59 +00:00
Host In FileSpec::Equal, short-cut GetNormalizedPath. 2017-03-27 19:12:25 +00:00
Interpreter Resubmit "Delete the remainder of platform specific code in FileSpec." 2017-03-22 17:33:23 +00:00
Language New C++ function name parsing logic 2017-04-03 18:59:34 +00:00
ObjectFile Move DataBuffer / DataExtractor and friends from Core -> Utility. 2017-03-04 01:30:05 +00:00
Platform [CMake] Update unit tests with accurate dependencies 2017-02-01 22:17:00 +00:00
Process Verify memory address range validity in GDBRemoteCommunicationClient 2017-03-31 18:00:48 +00:00
ScriptInterpreter [CMake] Update unit tests with accurate dependencies 2017-02-01 22:17:00 +00:00
Signals Make LLDB skip server-client roundtrip for signals that don't require any actions 2017-03-07 21:34:40 +00:00
Symbol [CMake] Update unit tests with accurate dependencies 2017-02-01 22:17:00 +00:00
SymbolFile Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
Target Add format_provider for the MemoryRegionInfo::OptionalBool enum 2017-02-22 10:37:57 +00:00
UnwindAssembly [CMake] Update unit tests with accurate dependencies 2017-02-01 22:17:00 +00:00
Utility Resubmit "Delete the remainder of platform specific code in FileSpec." 2017-03-22 17:33:23 +00:00
CMakeLists.txt Resubmit "Delete the remainder of platform specific code in FileSpec." 2017-03-22 17:33:23 +00:00
gtest_common.h [Windows] Remove the #include <eh.h> hack. 2017-03-03 20:21:59 +00:00