diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-20 07:12:26 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-20 07:12:26 +0000 |
| commit | 61e582f6bccfffdcd3ba93a5bf5a7e1c5b882a6d (patch) | |
| tree | bc9aa9b868b3c61ed1fdfee6dd46b33471cdfd9c /llvm/lib/Target/ARM | |
| parent | abadc660e081d6bebb0f19f441dfb16c3bd08412 (diff) | |
| download | bcm5719-llvm-61e582f6bccfffdcd3ba93a5bf5a7e1c5b882a6d.tar.gz bcm5719-llvm-61e582f6bccfffdcd3ba93a5bf5a7e1c5b882a6d.zip | |
Replace r155185 with a better fix, which also addresses PR12557. When looking
up an elaborated type specifier in a friend declaration, only look for type
declarations, per [basic.lookup.elab]p2. If we know that the redeclaration
lookup for a friend class template in a dependent context finds a non-template,
don't delay the diagnostic to instantiation time.
llvm-svn: 155187
Diffstat (limited to 'llvm/lib/Target/ARM')
0 files changed, 0 insertions, 0 deletions

