[clang] [clang-tools-extra] [clang] Trim large(-ish) includes from common headers (PR #216946)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 18 02:23:16 PDT 2026


================
@@ -10,13 +10,18 @@
 #ifndef LLVM_CLANG_ANALYSIS_ANALYSES_LIFETIMEANNOTATIONS_H
 #define LLVM_CLANG_ANALYSIS_ANALYSES_LIFETIMEANNOTATIONS_H
 
-#include "clang/AST/Attr.h"
 #include "clang/AST/DeclCXX.h"
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/PointerUnion.h"
 #include "llvm/ADT/SmallVector.h"
 #include <optional>
 
+namespace clang {
+// Only ever named through a pointer here, so the generated attribute
----------------
zwuis wrote:

Useless comment. Same elsewhere.

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


More information about the cfe-commits mailing list