[all-commits] [llvm/llvm-project] 226d52: [lldb/DWARF] Replace C style casts with static_cas...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Mar 5 21:25:01 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 226d52b1faadbe4a770d5738ac9d2c5bbc110d3d
      https://github.com/llvm/llvm-project/commit/226d52b1faadbe4a770d5738ac9d2c5bbc110d3d
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp

  Log Message:
  -----------
  [lldb/DWARF] Replace C style casts with static_cast<> (NFC)

Using static_cast instead of C style casts better conveys the code's
intent, is a tad more safe and stands out more.




More information about the All-commits mailing list