llvm-project/clang/tools/diagtool
serge-sans-paille 5f290c090a Move STLFunctionalExtras out of STLExtras
Only using that change in StringRef already decreases the number of
preoprocessed lines from 7837621 to 7776151 for LLVMSupport

Perhaps more interestingly, it shows that many files were relying on the
inclusion of StringRef.h to have the declaration from STLExtras.h. This
patch tries hard to patch relevant part of llvm-project impacted by this
hidden dependency removal.

Potential impact:
- "llvm/ADT/StringRef.h" no longer includes <memory>,
  "llvm/ADT/Optional.h" nor "llvm/ADT/STLExtras.h"

Related Discourse thread:
https://llvm.discourse.group/t/include-what-you-use-include-cleanup/5831
2022-01-24 14:13:21 +01:00
..
CMakeLists.txt [diagtool] Install diagtool when LLVM_INSTALL_TOOLCHAIN_ONLY is ON. 2020-05-29 16:25:06 -07:00
DiagTool.cpp Move STLFunctionalExtras out of STLExtras 2022-01-24 14:13:21 +01:00
DiagTool.h
DiagnosticNames.cpp [clang] Introduce support for disabling warnings in system macros 2022-01-12 08:18:19 +00:00
DiagnosticNames.h
FindDiagnosticID.cpp
ListWarnings.cpp
ShowEnabledWarnings.cpp
TreeView.cpp Use llvm::any_of and llvm::all_of (NFC) 2021-12-11 11:54:37 -08:00
diagtool_main.cpp