mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-11 10:26:44 +00:00
Fix whitespace
llvm-svn: 182400
This commit is contained in:
parent
20ccf95f80
commit
fefc7f7a5d
@ -658,15 +658,13 @@ llvm::DIType CGDebugInfo::CreatePointerLikeType(unsigned Tag,
|
||||
|
||||
llvm::DIType CGDebugInfo::getOrCreateStructPtrType(StringRef Name,
|
||||
llvm::DIType &Cache) {
|
||||
if (Cache.Verify())
|
||||
return Cache;
|
||||
Cache =
|
||||
DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type,
|
||||
Name, TheCU, getOrCreateMainFile(),
|
||||
0);
|
||||
unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
|
||||
Cache = DBuilder.createPointerType(Cache, Size);
|
||||
if (Cache.Verify())
|
||||
return Cache;
|
||||
Cache = DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, Name,
|
||||
TheCU, getOrCreateMainFile(), 0);
|
||||
unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
|
||||
Cache = DBuilder.createPointerType(Cache, Size);
|
||||
return Cache;
|
||||
}
|
||||
|
||||
llvm::DIType CGDebugInfo::CreateType(const BlockPointerType *Ty,
|
||||
|
Loading…
x
Reference in New Issue
Block a user