summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiation-order.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use the appropriate SourceLocation for the template backtrace when doingNick Lewycky2014-01-111-2/+2
| | | | | | template argument deduction. llvm-svn: 198995
* Track whether a function type has a trailing return type as type sugar. Use thisRichard Smith2012-02-101-0/+15
to pretty-print such function types better, and to fix a case where we were not instantiating templates in lexical order. In passing, move the Variadic bit from Type's bitfields to FunctionProtoType to get the Type bitfields down to 32 bits. Also ensure that we always substitute the return type of a function when substituting explicitly-specified arguments, since that can cause us to bail out with a SFINAE error before we hit a hard error in parameter substitution. llvm-svn: 150241
OpenPOWER on IntegriCloud