diff options
author | serge-sans-paille <sguelton@redhat.com> | 2022-01-28 07:19:32 +0100 |
---|---|---|
committer | serge-sans-paille <sguelton@redhat.com> | 2022-01-28 11:50:49 +0100 |
commit | 92f49b89e2d8aaa7826d96ec2d45dfe1102371b9 (patch) | |
tree | 334cb9eac36a5f0bc118c143141aee8d04a60e49 /llvm/lib/TableGen/TGParser.cpp | |
parent | b2e0a6d95a261563b166694ef8bb92110376c0c5 (diff) | |
download | llvm-92f49b89e2d8aaa7826d96ec2d45dfe1102371b9.zip llvm-92f49b89e2d8aaa7826d96ec2d45dfe1102371b9.tar.gz llvm-92f49b89e2d8aaa7826d96ec2d45dfe1102371b9.tar.bz2 |
Cleanup include dependencies for LLVMTableGen
Based on the output of include-what-you-use. No other library seems affected by
the new forward declaration.
$ clang++ -E -Iinclude -I../llvm/include ../llvm/lib/TableGen/*.cpp -std=c++14 -fno-rtti -fno-exceptions | wc -l
before: 795231
after: 750654
Related Discourse thread: https://llvm.discourse.group/t/include-what-you-use-include-cleanup
Differential Revision: https://reviews.llvm.org/D118374
Diffstat (limited to 'llvm/lib/TableGen/TGParser.cpp')
-rw-r--r-- | llvm/lib/TableGen/TGParser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/TableGen/TGParser.cpp b/llvm/lib/TableGen/TGParser.cpp index 3709a37..90646a0 100644 --- a/llvm/lib/TableGen/TGParser.cpp +++ b/llvm/lib/TableGen/TGParser.cpp @@ -11,8 +11,8 @@ //===----------------------------------------------------------------------===// #include "TGParser.h" +#include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/None.h" -#include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/Twine.h" @@ -21,7 +21,6 @@ #include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/raw_ostream.h" -#include "llvm/Support/SourceMgr.h" #include <algorithm> #include <cassert> #include <cstdint> |