clang-cl: Don't warn for unused private fields when encountering a late parsed templa...
authorEhsan Akhgari <ehsan.akhgari@gmail.com>
Sat, 11 Oct 2014 00:24:15 +0000 (00:24 +0000)
committerEhsan Akhgari <ehsan.akhgari@gmail.com>
Sat, 11 Oct 2014 00:24:15 +0000 (00:24 +0000)
commit4b5ca9a22270c8b613f4bd9b4e4563fb0b86a1d6
treec101114246c86c7f308b3ddda7e6e42651fb3a1e
parent6666c27e992ac77c64cd49318a0f43a5dcef3de8
clang-cl: Don't warn for unused private fields when encountering a late parsed template member

Summary: This fixes PR21235.

Test Plan: Includes an automated test.

Reviewers: hansw

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D5718

llvm-svn: 219551
clang/lib/Sema/Sema.cpp
clang/test/SemaCXX/warn-unused-private-field-delayed-template.cpp [new file with mode: 0644]