commit | 2166beba8d939d2938c5401af2c8d3687afd5d8c | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue May 11 17:39:34 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue May 11 17:39:34 2010 +0000 |
tree | 705463c93c0c35b62eec8cf8b747a5897fe0847e | |
parent | 85bcd9920582f4d3879d8fbbaf4ca4fe09690160 [diff] |
The C++98/03 standard is disturbingly silent about out-of-scope explicit instantiations of template. C++0x clarifies the intent (they're ill-formed in some cases; see [temp.explicit] for details). However, one could squint at the C++98/03 standard and conclude they are permitted, so reduce the error to a warning (controlled by -Wc++0x-compat) in C++98/03 mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103482 91177308-0d34-0410-b5e6-96231b3b80d8