[all-commits] [llvm/llvm-project] 22ec72: [Lint] Use MemoryLocation

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Nov 19 11:55:49 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 22ec72f803d67d173ca3733836763d7b981bb84f
      https://github.com/llvm/llvm-project/commit/22ec72f803d67d173ca3733836763d7b981bb84f
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-11-19 (Thu, 19 Nov 2020)

  Changed paths:
    M llvm/lib/Analysis/Lint.cpp

  Log Message:
  -----------
  [Lint] Use MemoryLocation

Instead of separately passing pointer and size, make use of
MemoryLocation. This allows us to also reuse all the existing
logic for determining the MemoryLocation correponding to an
instruction or call argument.

Not quite NFC because used locations may be more precise in some
cases.




More information about the All-commits mailing list