commit | 6960587df0bd1b421c11715807a4d2302a3aae3c | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Mar 28 16:01:27 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Mar 28 16:01:27 2012 +0000 |
tree | 816ec998283c43e315732268a37177abc5f5c841 | |
parent | 1e1e9722cb4ea6027e2c4885c7a8f26d3726ca7d [diff] |
Unify and fix our checking of C++ [dcl.meaning]p1's requirements concerning qualified declarator-ids. We now diagnose extraneous qualification at namespace scope (which we had previously missed) and diagnose these qualification errors for all kinds of declarations; it was rather uneven before. Fixes <rdar://problem/11135644>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153577 91177308-0d34-0410-b5e6-96231b3b80d8