[all-commits] [llvm/llvm-project] 0ae989: Pass DebugLoc::appendInlinedAt DebugLoc arg by con...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Jul 1 08:39:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ae989a1fede0e512e2bfd57b328aad6c1920329
      https://github.com/llvm/llvm-project/commit/0ae989a1fede0e512e2bfd57b328aad6c1920329
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-07-01 (Wed, 01 Jul 2020)

  Changed paths:
    M llvm/include/llvm/IR/DebugLoc.h
    M llvm/lib/IR/DebugLoc.cpp

  Log Message:
  -----------
  Pass DebugLoc::appendInlinedAt DebugLoc arg by const reference not value.

Noticed by clang-tidy performance-unnecessary-value-param warning.


  Commit: c83ec0a633583e5b12e0aeb70627eb35f7cd4847
      https://github.com/llvm/llvm-project/commit/c83ec0a633583e5b12e0aeb70627eb35f7cd4847
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-07-01 (Wed, 01 Jul 2020)

  Changed paths:
    M llvm/lib/IR/Instructions.cpp

  Log Message:
  -----------
  Make dyn_cast results explicitly auto* instead of just auto.

Noticed by clang-tidy llvm-qualified-auto warning.


Compare: https://github.com/llvm/llvm-project/compare/d36f2c6a6c4b...c83ec0a63358


More information about the All-commits mailing list