Fixed a problem where "image lookup -t" was printing

a bunch of semicolons where the IndirectFieldDecls
were.  These IndirectFieldDecls should have been
implicit.

<rdar://problem/14628784>

llvm-svn: 188247
This commit is contained in:
Sean Callanan 2013-08-13 01:42:34 +00:00
parent fd814c5a64
commit a424181eec
1 changed files with 4 additions and 0 deletions

View File

@ -4444,6 +4444,8 @@ ClangASTType::BuildIndirectFields ()
chain,
2);
indirect_field->setImplicit();
indirect_field->setAccess(ClangASTContext::UnifyAccessSpecifiers(field_pos->getAccess(),
nested_field_decl->getAccess()));
@ -4473,6 +4475,8 @@ ClangASTType::BuildIndirectFields ()
chain,
nested_chain_size + 1);
indirect_field->setImplicit();
indirect_field->setAccess(ClangASTContext::UnifyAccessSpecifiers(field_pos->getAccess(),
nested_indirect_field_decl->getAccess()));