diff options
| author | Pavel Labath <labath@google.com> | 2016-08-18 08:21:38 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2016-08-18 08:21:38 +0000 |
| commit | 9361c439e8cef6fcc87edefbc3389ad1160984fd (patch) | |
| tree | fe439cc09665f2c94650ee80761045963f9eebfc /clang/lib/Basic/SourceManager.cpp | |
| parent | 6ee4f905dce7c4fde389f8e06c89b463fcbf68ac (diff) | |
| download | bcm5719-llvm-9361c439e8cef6fcc87edefbc3389ad1160984fd.tar.gz bcm5719-llvm-9361c439e8cef6fcc87edefbc3389ad1160984fd.zip | |
Fix parsing of complicated C++ names
Summary:
CPlusPlusLanguage::MethodName was not correctly parsing templated functions whose demangled name
included the return type -- the space before the function name was included in the "context" and
the context itself was not terminated correctly due to a misuse of the substr function (second
argument is length, not the end position). Fix that and add a regression test.
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D23608
llvm-svn: 279038
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions

