HomePhabricator

Prune TargetInfo.h include from ParsedAttr.h, NFC

Authored by rnk on Mar 11 2020, 8:43 PM.

Description

Prune TargetInfo.h include from ParsedAttr.h, NFC

Saves ~400 includes of related headers:

$ diff -u <(sort thedeps-before.txt) <(sort thedeps-after.txt) \

| grep '^[-+] ' | sort | uniq -c | sort -nr
468 -    llvm-project/clang/include/clang/Basic/TargetInfo.h
468 -    llvm-project/clang/include/clang/Basic/TargetCXXABI.h
368 -    llvm-project/llvm/include/llvm/Support/CodeGen.h
368 -    llvm-project/clang/include/clang/Basic/XRayInstr.h
368 -    llvm-project/clang/include/clang/Basic/CodeGenOptions.h
368 -    llvm-project/clang/include/clang/Basic/CodeGenOptions.def
367 -    llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h
367 -    llvm-project/clang/include/clang/Basic/DebugInfoOptions.h

Details

Committed
rnkMar 11 2020, 8:47 PM
Parents
rGb47c9f535c8a: [libc] Add initial assert definition
Branches
Unknown
Tags
Unknown