[lldb-dev] ObjC decl string checks in Expr Eval?
colin at codeplay.com
Thu Mar 6 08:41:59 PST 2014
I'm interested in the following code in ClangASTSource.cpp -
ClangASTSource::FindExternalVisibleDecls(), around line 605.
static ConstString id_name("id");
static ConstString Class_name("Class");
if (name == id_name || name == Class_name)
Is this a legacy bit of ObjC early exit magic? I've been wondering why
expression evaluation was failing only ever on variables called 'id' ;)
I don't have the ability to validate implications of removal of the code
on ObjC. Any opinions on whether this is actually still needed?
Codeplay Software Ltd
45 York Place, Edinburgh, EH1 3HP
Phone: +44 131 466 0503
Fax: +44 131 557 6600
More information about the lldb-dev