[all-commits] [llvm/llvm-project] d674f4: [Transforms] Remove extraneous ArrayRef (NFC) (#89...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sun Apr 21 08:21:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d674f45d51bffbba474b12e07f7d57a2390d2f31
      https://github.com/llvm/llvm-project/commit/d674f45d51bffbba474b12e07f7d57a2390d2f31
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-04-21 (Sun, 21 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

  Log Message:
  -----------
  [Transforms] Remove extraneous ArrayRef (NFC) (#89535)

We don't need to create these instances of ArrayRef because
ConstantDataVector::get takes ArrayRef, and ArrayRef can be implicitly
constructed from C arrays.



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