llvm-project/clang/lib
Gauthier Harnisch b63e577444 [clang] Fixing incorrect implicit deduction guides (PR41549)
Summary:
[[ https://bugs.llvm.org/show_bug.cgi?id=41549 | bug report ]]

Before this patch, implicit deduction guides were generated from the first declaration found by lookup.
With this patch implicit deduction guides are generated from the definition of the class template.
Also added test that was previously failing.

Reviewers: rsmith

Reviewed By: rsmith

Subscribers: cfe-commits, Quuxplusone

Tags: #clang

Differential Revision: https://reviews.llvm.org/D63072

llvm-svn: 363361
2019-06-14 08:40:04 +00:00
..
ARCMigrate [PlistSupport] Produce a newline to end plist output files 2019-06-10 22:30:57 +00:00
AST Revert 363295, it caused PR42276. Also revert follow-ups 363337, 363340. 2019-06-14 04:05:17 +00:00
ASTMatchers Added AST matcher for ignoring elidable constructors 2019-06-13 13:48:24 +00:00
Analysis [analyzer] ProgramPoint: more explicit printJson() 2019-06-12 18:24:02 +00:00
Basic [Targets] Move soft-float-abi filtering to `initFeatureMap` 2019-06-14 00:35:17 +00:00
CodeGen Revert 363295, it caused PR42276. Also revert follow-ups 363337, 363340. 2019-06-14 04:05:17 +00:00
CrossTU [ASTImporter] Use llvm::Expected and Error in the importer API 2019-05-15 10:29:48 +00:00
Driver [AMDGPU] gfx1010 wave32 clang support 2019-06-13 23:47:59 +00:00
Edit Range-style std::find{,_if} -> llvm::find{,_if}. NFC 2019-03-31 08:48:19 +00:00
Format clang-format: better handle namespace macros 2019-06-06 20:06:23 +00:00
Frontend [WebAssembly] Modernize include path handling 2019-06-13 09:42:43 +00:00
FrontendTool Add clang source minimizer that reduces source to directives 2019-06-03 22:59:17 +00:00
Headers [PowerPC] [Clang] Port SSE2 intrinsics to PowerPC 2019-06-12 05:25:40 +00:00
Index [Index] Compute correct symbol kind for variable templates 2019-05-29 17:49:30 +00:00
Lex [clang][HeaderSearch] Consider all path separators equal 2019-06-06 18:49:16 +00:00
Parse Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
Rewrite [analyzer] [NFC] PathDiagnostic: Create PathDiagnosticPopUpPiece 2019-05-29 19:21:59 +00:00
Sema [clang] Fixing incorrect implicit deduction guides (PR41549) 2019-06-14 08:40:04 +00:00
Serialization For DR712: store on a MemberExpr whether it constitutes an odr-use. 2019-06-11 17:50:36 +00:00
StaticAnalyzer Revert 363295, it caused PR42276. Also revert follow-ups 363337, 363340. 2019-06-14 04:05:17 +00:00
Tooling [LibTooling] Add `before` and `after` selectors for selecting point-ranges relative to nodes. 2019-05-29 12:40:36 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00