[PATCH] D97965: [clang] Fix crash when creating deduction guide.

2021-03-09 Thread Adam Czachorowski via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG4e1c487004a2: [clang] Fix crash when creating deduction guide. (authored by adamcz). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTIO

[PATCH] D97965: [clang] Fix crash when creating deduction guide.

2021-03-09 Thread Adam Czachorowski via Phabricator via cfe-commits
adamcz added inline comments. Comment at: clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp:425 + // This used to crash due to unparsed default arg above. + B(); // expected-error {{deduction guide declaration without trailing return type}} +}; ho

[PATCH] D97965: [clang] Fix crash when creating deduction guide.

2021-03-09 Thread Adam Czachorowski via Phabricator via cfe-commits
adamcz updated this revision to Diff 329346. adamcz added a comment. expanded a comment Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D97965/new/ https://reviews.llvm.org/D97965 Files: clang/lib/Sema/SemaTemplate.cpp clang/test/SemaCXX/cxx1z-cl

[PATCH] D97965: [clang] Fix crash when creating deduction guide.

2021-03-07 Thread Haojian Wu via Phabricator via cfe-commits
hokein accepted this revision. hokein added a comment. This revision is now accepted and ready to land. Thanks! Comment at: clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp:425 + // This used to crash due to unparsed default arg above. + B(); // expected-error {

[PATCH] D97965: [clang] Fix crash when creating deduction guide.

2021-03-04 Thread Adam Czachorowski via Phabricator via cfe-commits
adamcz updated this revision to Diff 328206. adamcz added a comment. format Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D97965/new/ https://reviews.llvm.org/D97965 Files: clang/lib/Sema/SemaTemplate.cpp clang/test/SemaCXX/cxx1z-class-template

[PATCH] D97965: [clang] Fix crash when creating deduction guide.

2021-03-04 Thread Adam Czachorowski via Phabricator via cfe-commits
adamcz created this revision. adamcz requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. We used to trigger assertion when transforming c-tor with unparsed default argument. Now we ignore such constructors for this purpose. Repository: rG L