Lines Matching refs:Template
40 #include "clang/Sema/Template.h"
115 // If there were any diagnostics suppressed by template argument deduction,
1462 /// possibly a list of template arguments.
1464 /// If this produces template arguments, it is permitted to call
1485 TemplateName TName = Id.TemplateId->Template.get();
1703 // -- a template-id that is dependent,
1733 // Lookup the template name again to correctly establish the context in
1735 // lookup to determine that it was a template name in the first place. If
1790 // In Microsoft mode, if we are inside a template class member function
1872 /// declaration name, generally during template instantiation.
2213 // template
2291 "Cannot refer unambiguously to a function template");
2297 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(D)) {
2299 // a template argument list.
2301 << Template << SS.getRange();
2302 Diag(Template->getLocation(), diag::note_template_decl_here);
2399 // Non-type template parameters are either l-values or r-values
2409 // the template parameter was declared as 'const int' or whatever.
2809 /// the expression as it completes the type for that expression through template
3607 // Determine whether this is a dependent call inside a C++ template,
3826 // Check if we have too few/too many template arguments, based
6438 // comparisons within a template specialization. The warnings should catch
6439 // obvious cases in the definition of the template anyways. The idea is to
6881 // Don't warn in macros or template instantiations.
7788 // template<class T> void f(); template<class T, class U> void f(U);
8704 // If the answer is "apply template argument deduction"....
9263 // we're in a template or not. The reason for this is that unevaluated
9735 template <class T> ExprResult rebuildSugarExpr(T *E) {
9831 template <class T> ExprResult rebuildSugarExpr(T *E) {
10121 // Try to resolve a single function template specialization.