summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/NSSet.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-10-22 21:47:13 +0000
committerGreg Clayton <gclayton@apple.com>2014-10-22 21:47:13 +0000
commitc3795409c91affb53764d135a1c112d9bd808eef (patch)
treef2ed0e3340cc6e7805249d1d91d143df46176175 /lldb/source/DataFormatters/NSSet.cpp
parentfa226b74d18ff910fe069377fec7d05ee1c61975 (diff)
downloadbcm5719-llvm-c3795409c91affb53764d135a1c112d9bd808eef.tar.gz
bcm5719-llvm-c3795409c91affb53764d135a1c112d9bd808eef.zip
Fixed name lookups for names that contain "::" but aren't actually C++ qualified C++ names.
To do this, I fixed the CPPLanguageRuntime::StripNamespacesFromVariableName() function to use a regular expression that correctly determines if the name passed to it is a qualfied C++ name like "a::b::c" or "b::c". The old version of this function was treating '__54-[NSUserScriptTask executeWithInterpreter:arguments::]_block_invoke' as a match with a basename of ']_block_invoke'. Also fixed a case in the by name lookup of functions where we wouldn't look for the full name if we actually tried to call CPPLanguageRuntime::StripNamespacesFromVariableName() and got an empty basename back. <rdar://problem/18527866> llvm-svn: 220432
Diffstat (limited to 'lldb/source/DataFormatters/NSSet.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud