[all-commits] [llvm/llvm-project] e9fdc6: [Clang][NFC] Remove unnecessary copy (#97902)

smanna12 via All-commits all-commits at lists.llvm.org
Wed Jul 17 08:18:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9fdc689dbb141a318bb7be40001cef03ca67301
      https://github.com/llvm/llvm-project/commit/e9fdc689dbb141a318bb7be40001cef03ca67301
  Author: smanna12 <soumi.manna at intel.com>
  Date:   2024-07-17 (Wed, 17 Jul 2024)

  Changed paths:
    M clang/lib/AST/ASTImporter.cpp

  Log Message:
  -----------
  [Clang][NFC] Remove unnecessary copy (#97902)

Reported by Static Analyzer Tool:

In
clang::ASTNodeImporter::VisitCountAttributedType(clang::CountAttributedType
const *): Using the auto keyword without an & causes the copy of an
object of type TypeCoupledDeclRefInfo



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list