Page MenuHomePhabricator

[clang][DeclPrinter] Fix AST print of out-of-line record definitions
Needs ReviewPublic

Authored by strimo378 on Thu, May 25, 7:40 PM.

Details

Reviewers
aaron.ballman
Summary

DeclPrinter::VisitCXXRecordDecl did not output qualifiers for records. As result, the output of out-of-line record definitions was incorrect. Please take a look at the provided test case...

Diff Detail

Unit TestsFailed

TimeTest
18,970 mslibcxx CI - C++26 > llvm-libc++-shared-cfg-in.libcxx::transitive_includes.sh.cpp
Script: -- : 'RUN: at line 71'; mkdir /home/libcxx-builder/.buildkite-agent/builds/google-libcxx-builder-49cc004468ca-1/llvm-project/libcxx-ci/build/generic-cxx26/test/libcxx/Output/transitive_includes.sh.cpp.dir/t.tmp

Event Timeline

strimo378 created this revision.Thu, May 25, 7:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptThu, May 25, 7:40 PM
strimo378 requested review of this revision.Thu, May 25, 7:40 PM
strimo378 set the repository for this revision to rG LLVM Github Monorepo.Thu, May 25, 11:10 PM
strimo378 added a subscriber: cfe-commits.
Herald added a project: Restricted Project. · View Herald TranscriptThu, May 25, 11:10 PM