[all-commits] [llvm/llvm-project] 671365: [NFC] Cleanup some #includes in header files

Bill Wendling via All-commits all-commits at lists.llvm.org
Fri Sep 1 15:24:28 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 671365225ccce00b063f7becfee4388aa7ab013a
  Author: Bill Wendling <morbo at google.com>
  Date:   2023-09-01 (Fri, 01 Sep 2023)

  Changed paths:
    M clang/include/clang/AST/ASTConcept.h
    M clang/include/clang/AST/ASTContext.h
    M clang/lib/AST/ASTConcept.cpp
    M clang/lib/AST/DeclTemplate.cpp

  Log Message:
  [NFC] Cleanup some #includes in header files

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.

Differential Revision: https://reviews.llvm.org/D159320

More information about the All-commits mailing list