aprantl added inline comments.

================
Comment at: source/Symbol/ClangASTContext.cpp:1505
 
-  bool is_anonymous = (!name) || (!name[0]);
+  bool has_name = (!name) || (!name[0]);
 
----------------
aprantl wrote:
> aprantl wrote:
> > The condition needs to be reversed now to match the new name.
> `bool has_name = (name && name[0])`
Even more elegant would be changing the function to take a StringRef, but you 
don't have to do that....


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66175/new/

https://reviews.llvm.org/D66175



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to