| commit | 3ac84e6ae878a82efe35829613d805fcd7efa3ed | [log] [tgz] |
|---|---|---|
| author | David Majnemer <david.majnemer@gmail.com> | Tue Oct 22 21:56:38 2013 +0000 |
| committer | David Majnemer <david.majnemer@gmail.com> | Tue Oct 22 21:56:38 2013 +0000 |
| tree | ca9cc17200a23a73243a1585cfaaa28f3af6750b | |
| parent | 77c60085afbd50c03ed49129b213de64e209e6d6 [diff] |
Sema: Allow IndirectFieldDecl to appear in a non-type template argument We would not identify pointer-to-member construction in a non-type template argument if it was either a FieldDecl or a CXXMethodDecl. However, this would incorrectly reject declarations that were injected via an IndirectFieldDecl (e.g. a field inside of an anonymous union). This fixes PR17657. llvm-svn: 193203