[all-commits] [llvm/llvm-project] 5bd97e: Fix MemoryLocation.h use without Instructions.h

Sanne Wouda via All-commits all-commits at lists.llvm.org
Tue May 26 09:20:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bd97eb28aff252a3a9e8b0ef00d563b557f5580
      https://github.com/llvm/llvm-project/commit/5bd97eb28aff252a3a9e8b0ef00d563b557f5580
  Author: Sanne Wouda <Sanne.Wouda at arm.com>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/MemoryLocation.h
    M llvm/lib/Analysis/MemoryLocation.cpp

  Log Message:
  -----------
  Fix MemoryLocation.h use without Instructions.h

MemoryLocation.h was changed to only include Instruction.h.  However,
cast<> still needs the full definiton, so move MemoryLocation::getOrNone
to the cpp file.




More information about the All-commits mailing list