From: Eric Christopher Date: Wed, 26 Feb 2014 02:49:36 +0000 (+0000) Subject: 80-col and bad line ending fixups. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08e49feb9c3d7886ba2a8e12ab4a3181f2639e29;p=clang 80-col and bad line ending fixups. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202219 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 2c357debb3..40476feb39 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -52,9 +52,9 @@ CGDebugInfo::~CGDebugInfo() { "Region stack mismatch, stack not empty!"); } - -SaveAndRestoreLocation::SaveAndRestoreLocation(CodeGenFunction &CGF, CGBuilderTy &B) - : DI(CGF.getDebugInfo()), Builder(B) { +SaveAndRestoreLocation::SaveAndRestoreLocation(CodeGenFunction &CGF, + CGBuilderTy &B) + : DI(CGF.getDebugInfo()), Builder(B) { if (DI) { SavedLoc = DI->getLocation(); DI->CurLoc = SourceLocation(); @@ -345,9 +345,9 @@ void CGDebugInfo::CreateCompileUnit() { if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { MainFileDir = MainFile->getDir()->getName(); if (MainFileDir != ".") { - llvm::SmallString<1024> MainFileDirSS(MainFileDir); - llvm::sys::path::append(MainFileDirSS, MainFileName); - MainFileName = MainFileDirSS.str(); + llvm::SmallString<1024> MainFileDirSS(MainFileDir); + llvm::sys::path::append(MainFileDirSS, MainFileName); + MainFileName = MainFileDirSS.str(); } } @@ -1475,8 +1475,8 @@ llvm::DIType CGDebugInfo::CreateType(const RecordType *Ty) { (DebugKind <= CodeGenOptions::LimitedDebugInfo && // Emit only a forward declaration unless the type is required. ((!RD->isCompleteDefinitionRequired() && CGM.getLangOpts().CPlusPlus) || - // If the class is dynamic, only emit a declaration. A definition will be - // emitted whenever the vtable is emitted. + // If the class is dynamic, only emit a declaration. A definition will + // be emitted whenever the vtable is emitted. (CXXDecl && CXXDecl->hasDefinition() && CXXDecl->isDynamicClass())))) { if (!T) T = getOrCreateRecordFwdDecl(