[Lldb-commits] [PATCH] D66175: Improve anonymous class heuristic in ClangASTContext::CreateRecordType
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 14 13:57:32 PDT 2019
aprantl added inline comments.
Comment at: source/Symbol/ClangASTContext.cpp:1505
- bool is_anonymous = (!name) || (!name);
+ bool has_name = (!name) || (!name);
> aprantl wrote:
> > The condition needs to be reversed now to match the new name.
> `bool has_name = (name && name)`
Even more elegant would be changing the function to take a StringRef, but you don't have to do that....
CHANGES SINCE LAST ACTION
More information about the lldb-commits