[clang] [NFC] [Clang] Remove unused include <tuple> in Lexer.cpp (PR #173801)

Thibault Monnier via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 28 14:13:44 PST 2025


https://github.com/Thibault-Monnier created https://github.com/llvm/llvm-project/pull/173801

This header was not being used, as found by `Ctrl + F`-ing all the declarations from `tuple` (found at https://en.cppreference.com/w/cpp/header/tuple.html).

>From 16c04b2d019e48bdd337c057a82459ff54bd3c97 Mon Sep 17 00:00:00 2001
From: Thibault-Monnier <thibaultmonni at gmail.com>
Date: Sun, 28 Dec 2025 23:08:06 +0100
Subject: [PATCH] Remove unused include <tuple> in Lexer.cpp

---
 clang/lib/Lex/Lexer.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp
index b282a600c0e56..afebef0974016 100644
--- a/clang/lib/Lex/Lexer.cpp
+++ b/clang/lib/Lex/Lexer.cpp
@@ -44,7 +44,6 @@
 #include <limits>
 #include <optional>
 #include <string>
-#include <tuple>
 
 #ifdef __SSE4_2__
 #include <nmmintrin.h>



More information about the cfe-commits mailing list