зеркало из https://github.com/microsoft/clang-1.git
Fix whitespace
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182400 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
02fb58096b
Коммит
1e97c1e978
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче