[clang] [Lex] Remove unused includes (NFC) (PR #116460)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 16 01:05:49 PST 2024


================
@@ -14,14 +14,10 @@
 #include "clang/Basic/CharInfo.h"
 #include "clang/Basic/FileManager.h"
 #include "clang/Lex/HeaderMapTypes.h"
-#include "llvm/ADT/SmallString.h"
 #include "llvm/Support/Compiler.h"
-#include "llvm/Support/DataTypes.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/MathExtras.h"
 #include "llvm/Support/MemoryBuffer.h"
-#include "llvm/Support/SwapByteOrder.h"
-#include "llvm/Support/SystemZ/zOSSupport.h"
----------------
nikic wrote:

I think this one might be needed due to the use of strnlen in this file?

https://github.com/llvm/llvm-project/pull/116460


More information about the cfe-commits mailing list