Warn if function or variable cannot be implicitly instantiated

Description

Warn if function or variable cannot be implicitly instantiated

With this patch compiler emits warning if it tries to make implicit instantiation
of a template but cannot find the template definition. The warning can be suppressed
by explicit instantiation declaration or by command line options
-Wundefined-var-template and -Wundefined-func-template. The implementation follows
the discussion of http://reviews.llvm.org/D12326.

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

Details

Committed
sepavloffApr 18 2016, 11:19 PM
Differential Revision
D16396: Warn if variable cannot be implicitly instantiated
Parents
rL266718: Correct IDF calculator for ReverseIDF
Branches
Unknown
Tags
Unknown