[Lex] Remove unused includes (NFC) (#141523)

These are identified by misc-include-cleaner.  I've filtered out those
that break builds.  Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-specific build failures.
This commit is contained in:
Kazu Hirata 2025-05-26 14:57:05 -07:00 committed by GitHub
parent f1d8e37f2c
commit 36d57677bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 5 deletions

View File

@ -18,7 +18,6 @@
#include "llvm/Support/Debug.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/SystemZ/zOSSupport.h"
#include <cstring>
#include <memory>
#include <optional>

View File

@ -37,9 +37,7 @@
#include "llvm/Support/Path.h"
#include "llvm/Support/VirtualFileSystem.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <cstring>
#include <optional>
#include <string>

View File

@ -20,8 +20,6 @@
#include "clang/Lex/Lexer.h"
#include "clang/Lex/ModuleMap.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/Format.h"
#include <optional>
using namespace clang;