[all-commits] [llvm/llvm-project] 236129: [CompilationDatabase] Pass Twine by const referenc...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jan 7 04:58:43 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 236129fb4460a4030eee685abc2f02b32458e775
      https://github.com/llvm/llvm-project/commit/236129fb4460a4030eee685abc2f02b32458e775
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

  Changed paths:
    M clang/include/clang/Tooling/CompilationDatabase.h
    M clang/lib/Tooling/CompilationDatabase.cpp

  Log Message:
  -----------
  [CompilationDatabase] Pass Twine by const reference instead of by value. NFCI.


  Commit: 028091195d763190d9b57ae316c8601fe223c02c
      https://github.com/llvm/llvm-project/commit/028091195d763190d9b57ae316c8601fe223c02c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp

  Log Message:
  -----------
  [DWARF] DWARFDebugLoc::dumpRawEntry - remove dead stores. NFCI.

Don't bother zeroing local (unused) variables just before returning.

Fixes clang static analyzer warning.


  Commit: a9a8caf2ce2ff08a20cc145d23270e6c91709baa
      https://github.com/llvm/llvm-project/commit/a9a8caf2ce2ff08a20cc145d23270e6c91709baa
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

  Changed paths:
    M llvm/tools/llvm-objdump/llvm-objdump.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.h

  Log Message:
  -----------
  [llvm-objdump] Pass Twine by const reference instead of by value. NFCI.


Compare: https://github.com/llvm/llvm-project/compare/4284afdf9432...a9a8caf2ce2f


More information about the All-commits mailing list