commit | 3e2e91e934ecf083a7c0835b58d9627ca2faddc9 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Oct 18 02:28:33 2011 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Oct 18 02:28:33 2011 +0000 |
tree | 91a9ccf45a8c387e6e4ae33a0c3e5ff41f4a41b8 | |
parent | d80d90d65895a2004b0d01c67ac417cde6cc62fd [diff] |
Refactor the checking for explicit template instantiations being performed in the right namespace in C++11 mode. Teach the code to prefer the 'must be in precisely this namespace' diagnostic whenever that's true, and fix a defect which resulted in the -Wc++11-compat warning in C++98 mode sometimes being omitted. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142329 91177308-0d34-0410-b5e6-96231b3b80d8