File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -4888,7 +4888,7 @@ struct ReconstitutableType : public RecursiveASTVisitor<ReconstitutableType> {
48884888 bool VisitFunctionProtoType (FunctionProtoType *FT) {
48894889 // noexcept is not encoded in DWARF, so the reversi
48904890 Reconstitutable &= !isNoexceptExceptionSpec (FT->getExceptionSpecType ());
4891- return ! Reconstitutable;
4891+ return Reconstitutable;
48924892 }
48934893 bool TraverseRecordType (RecordType *RT) {
48944894 // Unnamed classes/lambdas can't be reconstituted due to a lack of column
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ void f() {
5555 } unnamed_struct;
5656 f1<decltype (unnamed_struct)>();
5757 // CHECK: !DISubprogram(name: "f1<(unnamed struct at {{.*}}debug-info-simple-template-names.cpp:[[# @LINE - 3]]:3)>",
58+ f1<void (decltype (unnamed_struct))>();
59+ // CHECK: !DISubprogram(name: "f1<void ((unnamed struct at {{.*}}CodeGenCXX/debug-info-simple-template-names.cpp:[[# @LINE - 5]]:3))>",
5860 enum {} unnamed_enum;
5961 f1<decltype (unnamed_enum)>();
6062 // CHECK: !DISubprogram(name: "f1<(unnamed enum at {{.*}}debug-info-simple-template-names.cpp:[[# @LINE - 2]]:3)>",
You can’t perform that action at this time.
0 commit comments