[PATCH] D78815: [Pass] Ensure we don't include PassSupport.h/PassAnalysisSupport.h directly

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 25 04:12:41 PDT 2020


RKSimon updated this revision to Diff 260080.
RKSimon added a comment.
Herald added subscribers: zzheng, kbarton, nemanjai, qcolombet, MatzeB, jholewinski.

Add check that PassSupport.h/PassAnalysisSupport.h aren't included again after Pass.h has been included.

Many of the additional file changes have implicit Pass.h includes but since the PassSupport.h/PassAnalysisSupport.h include was explicit I've added a Pass.h include.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78815/new/

https://reviews.llvm.org/D78815

Files:
  llvm/include/llvm/PassAnalysisSupport.h
  llvm/include/llvm/PassSupport.h
  llvm/include/llvm/Transforms/Utils/PredicateInfo.h
  llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp
  llvm/lib/CodeGen/HardwareLoops.cpp
  llvm/lib/CodeGen/RegAllocBasic.cpp
  llvm/lib/CodeGen/RegUsageInfoPropagate.cpp
  llvm/lib/IR/Pass.cpp
  llvm/lib/IR/PassRegistry.cpp
  llvm/lib/Target/ARM/ARMParallelDSP.cpp
  llvm/lib/Target/Hexagon/HexagonCopyToCombine.cpp
  llvm/lib/Target/Hexagon/HexagonFixupHwLoops.cpp
  llvm/lib/Target/Hexagon/HexagonPeephole.cpp
  llvm/lib/Target/Hexagon/HexagonVExtract.cpp
  llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h
  llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
  llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
  llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
  llvm/lib/Transforms/ObjCARC/ObjCARCExpand.cpp
  llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
  llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78815.260080.patch
Type: text/x-patch
Size: 10301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200425/d954df45/attachment.bin>


More information about the llvm-commits mailing list