[clang] [clang] Trim large(-ish) includes from common headers (PR #216946)
Chandler Carruth via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 21 17:12:25 PDT 2026
================
@@ -19,6 +19,7 @@
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
+#include "llvm/IR/DerivedTypes.h"
----------------
chandlerc wrote:
Here it is needed to get LLVM's max bits in an `IntegerType` and use that to set the max bits in `_BitInt(N)`. =/ If we want to fix the layering, would need to extract this limit to somewhere else.
https://github.com/llvm/llvm-project/pull/216946
More information about the cfe-commits
mailing list