diff options
author | Eric Christopher <echristo@gmail.com> | 2014-02-26 02:49:36 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-02-26 02:49:36 +0000 |
commit | 0a1301fe2513e1b92a061ef5dd1eb7a148225b34 (patch) | |
tree | a28680cdec6a538569ede1381a899a13e5ef8e7f | |
parent | d883a1c14880cf0d423ebda6848bc0a8e69ce10b (diff) | |
download | bcm5719-llvm-0a1301fe2513e1b92a061ef5dd1eb7a148225b34.tar.gz bcm5719-llvm-0a1301fe2513e1b92a061ef5dd1eb7a148225b34.zip |
80-col and bad line ending fixups.
llvm-svn: 202219
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 2c357debb3d..40476feb397 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/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( |