summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-02-26 02:49:36 +0000
committerEric Christopher <echristo@gmail.com>2014-02-26 02:49:36 +0000
commit0a1301fe2513e1b92a061ef5dd1eb7a148225b34 (patch)
treea28680cdec6a538569ede1381a899a13e5ef8e7f /clang
parentd883a1c14880cf0d423ebda6848bc0a8e69ce10b (diff)
downloadbcm5719-llvm-0a1301fe2513e1b92a061ef5dd1eb7a148225b34.tar.gz
bcm5719-llvm-0a1301fe2513e1b92a061ef5dd1eb7a148225b34.zip
80-col and bad line ending fixups.
llvm-svn: 202219
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp16
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(
OpenPOWER on IntegriCloud