summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/undefined-template.cpp
Commit message (Collapse)AuthorAgeFilesLines
* -Wunused-func-template: do not warn on non-template function declarations thatRichard Smith2017-01-281-0/+8
| | | | | | | were nonetheless instantiated (particularly, non-template friends declared within class templates). llvm-svn: 293358
* Warn if function or variable cannot be implicitly instantiatedSerge Pavlov2016-04-191-0/+139
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 llvm-svn: 266719
OpenPOWER on IntegriCloud