From 15621a2569c3789a00624aaa0d255eaf3f130b63 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 8 Aug 2008 06:43:59 +0000 Subject: [PATCH] Fix indentation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54518 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86ATTAsmPrinter.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/Target/X86/X86ATTAsmPrinter.cpp b/lib/Target/X86/X86ATTAsmPrinter.cpp index 88787e1996d..f99566b72d7 100644 --- a/lib/Target/X86/X86ATTAsmPrinter.cpp +++ b/lib/Target/X86/X86ATTAsmPrinter.cpp @@ -839,9 +839,9 @@ void X86ATTAsmPrinter::printModuleLevelGV(const GlobalVariable* GVar) { } switch (GVar->getLinkage()) { - case GlobalValue::CommonLinkage: - case GlobalValue::LinkOnceLinkage: - case GlobalValue::WeakLinkage: + case GlobalValue::CommonLinkage: + case GlobalValue::LinkOnceLinkage: + case GlobalValue::WeakLinkage: if (Subtarget->isTargetDarwin()) { O << "\t.globl " << name << '\n' << TAI->getWeakDefDirective() << name << '\n'; @@ -852,17 +852,17 @@ void X86ATTAsmPrinter::printModuleLevelGV(const GlobalVariable* GVar) { O << "\t.weak\t" << name << '\n'; } break; - case GlobalValue::DLLExportLinkage: - case GlobalValue::AppendingLinkage: + case GlobalValue::DLLExportLinkage: + case GlobalValue::AppendingLinkage: // FIXME: appending linkage variables should go into a section of // their name or something. For now, just emit them as external. - case GlobalValue::ExternalLinkage: + case GlobalValue::ExternalLinkage: // If external or appending, declare as a global symbol O << "\t.globl " << name << '\n'; // FALL THROUGH - case GlobalValue::InternalLinkage: + case GlobalValue::InternalLinkage: break; - default: + default: assert(0 && "Unknown linkage type!"); } -- 2.34.1