@@ -5531,8 +5531,7 @@ void CGDebugInfo::EmitDeclareOfBlockDeclRefVariable(
55315531 Ty = CreateSelfType (VD->getType (), Ty);
55325532
55335533 // Get location information.
5534- const unsigned Line =
5535- getLineNumber (Loc.isValid () ? Loc : CurLoc);
5534+ const unsigned Line = getLineNumber (Loc.isValid () ? Loc : CurLoc);
55365535 unsigned Column = getColumnNumber (Loc);
55375536
55385537 const llvm::DataLayout &target = CGM.getDataLayout ();
@@ -5641,7 +5640,8 @@ void CGDebugInfo::EmitDeclareOfBlockLiteralArgVariable(const CGBlockInfo &block,
56415640 const BlockDecl *blockDecl = block.getBlockDecl ();
56425641
56435642 // Collect some general information about the block's location.
5644- SourceLocation loc = getRefinedSpellingLocation (blockDecl->getCaretLocation ());
5643+ SourceLocation loc =
5644+ getRefinedSpellingLocation (blockDecl->getCaretLocation ());
56455645 llvm::DIFile *tunit = getOrCreateFile (loc);
56465646 unsigned line = getLineNumber (loc);
56475647 unsigned column = getColumnNumber (loc);
@@ -6172,8 +6172,8 @@ void CGDebugInfo::EmitGlobalVariable(const ValueDecl *VD, const APValue &Init) {
61726172 }
61736173
61746174 GV.reset (DBuilder.createGlobalVariableExpression (
6175- DContext, Name, StringRef (), Unit, getLineNumber (Loc), Ty,
6176- true , true , InitExpr, getOrCreateStaticDataMemberDeclarationOrNull (VarD),
6175+ DContext, Name, StringRef (), Unit, getLineNumber (Loc), Ty, true , true ,
6176+ InitExpr, getOrCreateStaticDataMemberDeclarationOrNull (VarD),
61776177 TemplateParameters, Align));
61786178}
61796179
@@ -6192,8 +6192,8 @@ void CGDebugInfo::EmitExternalVariable(llvm::GlobalVariable *Var,
61926192 llvm::DIScope *DContext = getDeclContextDescriptor (D);
61936193 llvm::DIGlobalVariableExpression *GVE =
61946194 DBuilder.createGlobalVariableExpression (
6195- DContext, Name, StringRef (), Unit, getLineNumber (Loc),
6196- Ty, false , false , nullptr , nullptr , nullptr , Align);
6195+ DContext, Name, StringRef (), Unit, getLineNumber (Loc), Ty, false ,
6196+ false , nullptr , nullptr , nullptr , Align);
61976197 Var->addDebugInfo (GVE);
61986198}
61996199
@@ -6289,8 +6289,8 @@ void CGDebugInfo::AddStringLiteralDebugInfo(llvm::GlobalVariable *GV,
62896289 llvm::DIFile *File = getOrCreateFile (Loc);
62906290 llvm::DIGlobalVariableExpression *Debug =
62916291 DBuilder.createGlobalVariableExpression (
6292- nullptr , StringRef (), StringRef (), File,
6293- getLineNumber (Loc), getOrCreateType (S->getType (), File), true );
6292+ nullptr , StringRef (), StringRef (), File, getLineNumber (Loc),
6293+ getOrCreateType (S->getType (), File), true );
62946294 GV->addDebugInfo (Debug);
62956295}
62966296
0 commit comments