[all-commits] [llvm/llvm-project] 27d37e: [clang][NFC] Clean up `Sema` headers

Vlad Serebrennikov via All-commits all-commits at lists.llvm.org
Sat Aug 17 04:58:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27d37ee4d067f42e9a46a0871d3cb961323e5c85
      https://github.com/llvm/llvm-project/commit/27d37ee4d067f42e9a46a0871d3cb961323e5c85
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-08-17 (Sat, 17 Aug 2024)

  Changed paths:
    M clang/include/clang/AST/Attr.h
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Sema/SemaAMDGPU.h
    M clang/include/clang/Sema/SemaARM.h
    M clang/include/clang/Sema/SemaAVR.h
    M clang/include/clang/Sema/SemaBPF.h
    M clang/include/clang/Sema/SemaCUDA.h
    M clang/include/clang/Sema/SemaCodeCompletion.h
    M clang/include/clang/Sema/SemaHLSL.h
    M clang/include/clang/Sema/SemaHexagon.h
    M clang/include/clang/Sema/SemaLoongArch.h
    M clang/include/clang/Sema/SemaM68k.h
    M clang/include/clang/Sema/SemaMIPS.h
    M clang/include/clang/Sema/SemaMSP430.h
    M clang/include/clang/Sema/SemaNVPTX.h
    M clang/include/clang/Sema/SemaObjC.h
    M clang/include/clang/Sema/SemaOpenACC.h
    M clang/include/clang/Sema/SemaOpenCL.h
    M clang/include/clang/Sema/SemaOpenMP.h
    M clang/include/clang/Sema/SemaPPC.h
    M clang/include/clang/Sema/SemaPseudoObject.h
    M clang/include/clang/Sema/SemaRISCV.h
    M clang/include/clang/Sema/SemaSYCL.h
    M clang/include/clang/Sema/SemaSwift.h
    M clang/include/clang/Sema/SemaSystemZ.h
    M clang/include/clang/Sema/SemaWasm.h
    M clang/include/clang/Sema/SemaX86.h
    M clang/lib/Parse/ParseExpr.cpp
    M clang/lib/Parse/ParseObjc.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaARM.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaExprObjC.cpp
    M clang/lib/Sema/SemaLambda.cpp
    M clang/lib/Sema/SemaMIPS.cpp
    M clang/lib/Sema/SemaObjC.cpp
    M clang/lib/Sema/SemaPPC.cpp
    M clang/lib/Sema/SemaSYCL.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/lib/Sema/SemaX86.cpp

  Log Message:
  -----------
  [clang][NFC] Clean up `Sema` headers

When various `Sema*.h` and `Sema*.cpp` files were created, cleanup of
`Sema.h` includes and forward declarations was left for the later.
Now's the time. This commit touches `Sema.h` and Sema components:
1. Unused includes are removed.
2. Unused forward declarations are removed.
3. Missing includes are added (those files are largely IWYU-clean now).
4. Includes were converted into forward declarations where possible.

As this commit focuses on headers, all changes to `.cpp` files were
minimal, and were aiming at keeping everything buildable.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list