diff options
author | David Majnemer <david.majnemer@gmail.com> | 2013-10-22 21:56:38 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2013-10-22 21:56:38 +0000 |
commit | 3ac84e6ae878a82efe35829613d805fcd7efa3ed (patch) | |
tree | ca9cc17200a23a73243a1585cfaaa28f3af6750b /clang/lib/CodeGen/CGExpr.cpp | |
parent | 77c60085afbd50c03ed49129b213de64e209e6d6 (diff) | |
download | bcm5719-llvm-3ac84e6ae878a82efe35829613d805fcd7efa3ed.tar.gz bcm5719-llvm-3ac84e6ae878a82efe35829613d805fcd7efa3ed.zip |
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
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions