summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-10-22 21:56:38 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-10-22 21:56:38 +0000
commit3ac84e6ae878a82efe35829613d805fcd7efa3ed (patch)
treeca9cc17200a23a73243a1585cfaaa28f3af6750b /clang/lib/CodeGen/CGExpr.cpp
parent77c60085afbd50c03ed49129b213de64e209e6d6 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud