[clang] [Clang] Bugfixes and improved support for `AttributedType`s in lambdas (PR #85325)
Younan Zhang via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 7 08:53:40 PDT 2024
================
@@ -361,3 +361,11 @@ LLVM_DUMP_METHOD void ConceptReference::dump(raw_ostream &OS) const {
ASTDumper P(OS, Ctx, Ctx.getDiagnostics().getShowColors());
P.Visit(this);
}
+
+//===----------------------------------------------------------------------===//
+// Attr method implementations
+//===----------------------------------------------------------------------===//
+LLVM_DUMP_METHOD void Attr::dump() const {
+ ASTDumper P(llvm::errs(), /*ShowColors=*/false);
----------------
zyn0217 wrote:
Small nit: do we need an overload taking an `ASTContext` parameter to dump colors? Just like that on line 361.
https://github.com/llvm/llvm-project/pull/85325
More information about the cfe-commits
mailing list