[PATCH] D159320: [NFC] Cleanup some #includes in header files

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 31 17:39:25 PDT 2023


void created this revision.
void added reviewers: nickdesaulniers, erichkeane.
Herald added a subscriber: ChuanqiXu.
Herald added a project: All.
void requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Limit the #includes to the least necessary to still compile. Move the
"new" function into the .cpp file to remove the need to #include
ASTContext.h into ASTConcept.h.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159320

Files:
  clang/include/clang/AST/ASTConcept.h
  clang/include/clang/AST/ASTContext.h
  clang/lib/AST/ASTConcept.cpp
  clang/lib/AST/DeclTemplate.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159320.555209.patch
Type: text/x-patch
Size: 4780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230901/180d9019/attachment.bin>


More information about the cfe-commits mailing list