Check for lack of C++ context first when demangling
authorPavel Labath <labath@google.com>
Wed, 3 May 2017 10:00:00 +0000 (10:00 +0000)
committerPavel Labath <labath@google.com>
Wed, 3 May 2017 10:00:00 +0000 (10:00 +0000)
commit9075f52c7870378df4fba594595b1c51354ec097
tree00f866c05d5f7c466acaea9fcaa1cd00a45e73d4
parentc60b4510ea6db9726fd4870381ca8486d862e9b8
Check for lack of C++ context first when demangling

Summary: It seems that if we have no context, then it can't possibly be a method.  Check that first.

Reviewers: clayborg

Reviewed By: clayborg

Subscribers: labath, lldb-commits

Differential Revision: https://reviews.llvm.org/D32708
Patch by Scott Smith <scott.smith@purestorage.com>.

llvm-svn: 302008
lldb/source/Symbol/Symtab.cpp