[llvm] r252241 - git-clang-format an area I am about to change.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 15:54:18 PST 2015


Author: rafael
Date: Thu Nov  5 17:54:18 2015
New Revision: 252241

URL: http://llvm.org/viewvc/llvm-project?rev=252241&view=rev
Log:
git-clang-format an area I am about to change.

Modified:
    llvm/trunk/lib/MC/MCDwarf.cpp

Modified: llvm/trunk/lib/MC/MCDwarf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCDwarf.cpp?rev=252241&r1=252240&r2=252241&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCDwarf.cpp (original)
+++ llvm/trunk/lib/MC/MCDwarf.cpp Thu Nov  5 17:54:18 2015
@@ -995,38 +995,35 @@ static void EmitPersonality(MCStreamer &
 }
 
 namespace {
-  class FrameEmitterImpl {
-    int CFAOffset;
-    int InitialCFAOffset;
-    bool IsEH;
-    const MCSymbol *SectionStart;
-  public:
-    FrameEmitterImpl(bool isEH)
-        : CFAOffset(0), InitialCFAOffset(0), IsEH(isEH), SectionStart(nullptr) {
-    }
-
-    void setSectionStart(const MCSymbol *Label) { SectionStart = Label; }
-
-    /// Emit the unwind information in a compact way.
-    void EmitCompactUnwind(MCObjectStreamer &streamer,
-                           const MCDwarfFrameInfo &frame);
-
-    const MCSymbol &EmitCIE(MCObjectStreamer &streamer,
-                            const MCSymbol *personality,
-                            unsigned personalityEncoding,
-                            const MCSymbol *lsda,
-                            bool IsSignalFrame,
-                            unsigned lsdaEncoding,
-                            bool IsSimple);
-    MCSymbol *EmitFDE(MCObjectStreamer &streamer,
-                      const MCSymbol &cieStart,
-                      const MCDwarfFrameInfo &frame);
-    void EmitCFIInstructions(MCObjectStreamer &streamer,
-                             ArrayRef<MCCFIInstruction> Instrs,
-                             MCSymbol *BaseLabel);
-    void EmitCFIInstruction(MCObjectStreamer &Streamer,
-                            const MCCFIInstruction &Instr);
-  };
+class FrameEmitterImpl {
+  int CFAOffset;
+  int InitialCFAOffset;
+  bool IsEH;
+  const MCSymbol *SectionStart;
+
+public:
+  FrameEmitterImpl(bool isEH)
+      : CFAOffset(0), InitialCFAOffset(0), IsEH(isEH), SectionStart(nullptr) {}
+
+  void setSectionStart(const MCSymbol *Label) { SectionStart = Label; }
+
+  /// Emit the unwind information in a compact way.
+  void EmitCompactUnwind(MCObjectStreamer &streamer,
+                         const MCDwarfFrameInfo &frame);
+
+  const MCSymbol &EmitCIE(MCObjectStreamer &streamer,
+                          const MCSymbol *personality,
+                          unsigned personalityEncoding, const MCSymbol *lsda,
+                          bool IsSignalFrame, unsigned lsdaEncoding,
+                          bool IsSimple);
+  MCSymbol *EmitFDE(MCObjectStreamer &streamer, const MCSymbol &cieStart,
+                    const MCDwarfFrameInfo &frame);
+  void EmitCFIInstructions(MCObjectStreamer &streamer,
+                           ArrayRef<MCCFIInstruction> Instrs,
+                           MCSymbol *BaseLabel);
+  void EmitCFIInstruction(MCObjectStreamer &Streamer,
+                          const MCCFIInstruction &Instr);
+};
 
 } // end anonymous namespace
 




More information about the llvm-commits mailing list