[all-commits] [llvm/llvm-project] c6a485: tsan: qualify autos

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Thu Aug 5 07:57:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6a485caf69326d2fd3300a4f8944889bdd189cd
      https://github.com/llvm/llvm-project/commit/c6a485caf69326d2fd3300a4f8944889bdd189cd
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-08-05 (Thu, 05 Aug 2021)

  Changed paths:
    M compiler-rt/lib/tsan/go/tsan_go.cpp
    M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp

  Log Message:
  -----------
  tsan: qualify autos

clang-tidy warning requires qualifying auto pointers:

clang-tidy: warning: 'auto ctx' can be declared as 'auto *ctx' [llvm-qualified-auto]

Fix remaing cases we have in tsan.

Depends on D107561.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107562




More information about the All-commits mailing list