hanchenye-llvm-project/clang/test/CXX
Nico Weber d3bdadf616 Fix several issues related to specializations and explicit instantiations.
Explicit instantiations following specializations are no-ops and hence have
no PointOfInstantiation. That was done correctly in most cases, but for a
specialization -> instantiation decl -> instantiation definition chain, the
definition didn't realize that it was a no-op. Fix that.

Also, when printing diagnostics for these no-ops, get the diag location from
the decl name location.

Add many test cases, one of them not yet passing (but it failed the same way
before this change). Fixes http://llvm.org/pr11558 and more.

llvm-svn: 147225
2011-12-23 20:58:04 +00:00
..
basic constexpr handling improvements. Produce detailed diagnostics when a 'constexpr' 2011-12-19 06:19:21 +00:00
class Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
class.access Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
class.derived Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
conv Compute the promoted integer type of fixed-width enums correctly. Found by inspection. 2011-10-26 07:38:19 +00:00
dcl.dcl PR11614: Mark defaulted special constructors as constexpr if their implicit 2011-12-22 02:22:31 +00:00
dcl.decl List-initialization via constructor part 1. Still needs: pretty-printing, overloading, initializer_list. 2011-12-22 14:44:04 +00:00
except Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
expr constexpr: diagnostic improvements for invalid lvalue-to-rvalue conversions in 2011-12-21 05:04:46 +00:00
lex Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
over Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
special PR11614: Mark defaulted special constructors as constexpr if their implicit 2011-12-22 02:22:31 +00:00
stmt.stmt Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
temp Fix several issues related to specializations and explicit instantiations. 2011-12-23 20:58:04 +00:00