[all-commits] [llvm/llvm-project] 5cee8d: [lldb-vscode] A couple of small style fixes

Pavel Labath via All-commits all-commits at lists.llvm.org
Tue Apr 28 04:42:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cee8ddcc7535c95e4dd00fc428d2a52630eaa31
      https://github.com/llvm/llvm-project/commit/5cee8ddcc7535c95e4dd00fc428d2a52630eaa31
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-04-28 (Tue, 28 Apr 2020)

  Changed paths:
    M lldb/tools/lldb-vscode/JSONUtils.cpp
    M lldb/tools/lldb-vscode/lldb-vscode.cpp

  Log Message:
  -----------
  [lldb-vscode] A couple of small style fixes

to make the code conform to llvm style better:
- avoid use of auto where the type is not obivous
- avoid StringRef::data where it is not needed

No functional change intended.


  Commit: f07f2cee9b4e19df78a19c9b2b552e2e5ba9d478
      https://github.com/llvm/llvm-project/commit/f07f2cee9b4e19df78a19c9b2b552e2e5ba9d478
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-04-28 (Tue, 28 Apr 2020)

  Changed paths:
    M lldb/unittests/Host/SocketTestUtilities.cpp

  Log Message:
  -----------
  [lldb/unittest] Adjust CheckIPSupport function to avoid double-consume of llvm::Error

The problem caught by clang-tidy and reported by Tobias Bosch.


Compare: https://github.com/llvm/llvm-project/compare/3119bdb5d695...f07f2cee9b4e


More information about the All-commits mailing list