[all-commits] [llvm/llvm-project] 1ee655: [ASAN] NFC: Remove redundant variable

Enna1 via All-commits all-commits at lists.llvm.org
Tue Jul 27 12:02:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ee6559ef698301eeb220126937b563858999d92
      https://github.com/llvm/llvm-project/commit/1ee6559ef698301eeb220126937b563858999d92
  Author: Enna1 <xumingjie1995 at outlook.com>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp

  Log Message:
  -----------
  [ASAN] NFC: Remove redundant variable

`StackAlignment` has only one use: `StackAlignment = std::max(StackAlignment, AI.getAlignment());` So it is redundant.

Reviewed By: vitalybuka, MTC

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




More information about the All-commits mailing list