[PATCH] D120210: [Analysis] Forward declare classes & remove includes

Clemens Wasser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 20 07:27:09 PST 2022


clemenswasser created this revision.
Herald added a subscriber: hiraditya.
clemenswasser requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

`llvm/IR/Instructions.h` was identified as quiet heavy by clang build analyzer.
Removing includes and forward declaring the relevant classes saves compilation time.


https://reviews.llvm.org/D120210

Files:
  llvm/include/llvm/Analysis/AssumeBundleQueries.h
  llvm/include/llvm/Analysis/ObjCARCAnalysisUtils.h
  llvm/include/llvm/Analysis/ObjCARCInstKind.h
  llvm/lib/Analysis/ObjCARCAnalysisUtils.cpp
  llvm/lib/Analysis/ObjCARCInstKind.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120210.410152.patch
Type: text/x-patch
Size: 11368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220220/2275ab31/attachment.bin>


More information about the llvm-commits mailing list