forked from OSchip/llvm-project
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:
parent
fd814c5a64
commit
a424181eec
|
@ -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()));
|
||||
|
||||
|
|
Loading…
Reference in New Issue