Greg Clayton c3795409c9 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:🅱️: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
2014-10-22 21:47:13 +00:00
..
2014-07-01 21:22:11 +00:00
2014-04-04 04:06:10 +00:00
2013-01-25 18:06:21 +00:00
2014-07-08 18:05:41 +00:00
2014-09-09 20:54:56 +00:00
2014-04-02 03:51:35 +00:00
2014-07-01 21:22:11 +00:00
2014-07-01 21:22:11 +00:00
2013-01-25 18:06:21 +00:00
2013-01-25 18:06:21 +00:00
2013-01-25 18:06:21 +00:00