commit | 711be1e89a56cdf679143ad18afaa58ed59f0584 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Mar 15 14:33:29 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Mar 15 14:33:29 2010 +0000 |
tree | a495e912ea9f369fc41ae6bad9663d4bf235acf8 | |
parent | 4b7a834e0fecddd9eaf1f4567867c718e4eebf50 [diff] |
Implement C++ [temp.local]p8, which specifies that a template parameter hides a namespace-scope declararion with the same name in an out-of-line definition of a template. The lookup requires a strange interleaving of lexical and semantic scopes (go C++), which I have not yet handled in the typo correction/code completion path. Fixes PR6594. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98544 91177308-0d34-0410-b5e6-96231b3b80d8