[clang] [clang-tools-extra] [clang][TypePrinter] Unify printing of anonymous/unnamed tag types (PR #169445)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 2 08:39:53 PST 2025


================
@@ -18,6 +18,7 @@
 #include "clang/AST/ExprConcepts.h"
 #include "clang/AST/ParentMapContext.h"
 #include "clang/AST/PrettyPrinter.h"
+#include "clang/AST/TypeBase.h"
----------------
mizvekov wrote:

```suggestion
#include "clang/AST/Type.h"
```
TypeBase is internal and is intended to be included into few places, in order to avoid circular dependencies.
It's intended to be included through Type.h instead.

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


More information about the cfe-commits mailing list