[Lldb-commits] [PATCH] D72190: Removing C-style casts in favor of explict C++ style casts

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 8 09:43:14 PST 2020


teemperor added inline comments.


================
Comment at: lldb/include/lldb/Expression/IRExecutionUnit.h:330
 
-  static const unsigned eSectionIDInvalid = (unsigned)-1;
 
----------------
Do we even need this cast? Neither Clang nor GCC complain about `unsigned X = -1` for me.


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

https://reviews.llvm.org/D72190





More information about the lldb-commits mailing list