[PATCH] D118374: Cleanup include dependencies for LLVMTableGen

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 27 08:14:25 PST 2022


serge-sans-paille created this revision.
serge-sans-paille added reviewers: lenary, RKSimon, mehdi_amini.
Herald added a subscriber: hiraditya.
serge-sans-paille requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Based on the output of include-what-you-use. No other library seems affected by
the new forward declaration.

$ clang++ -E  -Iinclude -I../llvm/include ../llvm/lib/TableGen/*.cpp -std=c++14 -fno-rtti -fno-exceptions | wc -l
before: 795231
after: 750654

Related Discourse thread: https://llvm.discourse.group/t/include-what-you-use-include-cleanup


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118374

Files:
  llvm/lib/TableGen/DetailedRecordsBackend.cpp
  llvm/lib/TableGen/JSONBackend.cpp
  llvm/lib/TableGen/Main.cpp
  llvm/lib/TableGen/Record.cpp
  llvm/lib/TableGen/SetTheory.cpp
  llvm/lib/TableGen/TGParser.cpp
  llvm/lib/TableGen/TableGenBackendSkeleton.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118374.403664.patch
Type: text/x-patch
Size: 4942 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220127/254564d2/attachment.bin>


More information about the llvm-commits mailing list