[llvm] r222545 - Fix formatting. NFC.

Rafael Espindola rafael.espindola at gmail.com
Fri Nov 21 10:05:55 PST 2014


Author: rafael
Date: Fri Nov 21 12:05:55 2014
New Revision: 222545

URL: http://llvm.org/viewvc/llvm-project?rev=222545&view=rev
Log:
Fix formatting. NFC.

Modified:
    llvm/trunk/include/llvm/Linker/Linker.h

Modified: llvm/trunk/include/llvm/Linker/Linker.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Linker/Linker.h?rev=222545&r1=222544&r2=222545&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Linker/Linker.h (original)
+++ llvm/trunk/include/llvm/Linker/Linker.h Fri Nov 21 12:05:55 2014
@@ -24,31 +24,30 @@ class StructType;
 /// module since it is assumed that the user of this class will want to do
 /// something with it after the linking.
 class Linker {
-  public:
-    typedef std::function<void(const DiagnosticInfo &)>
-        DiagnosticHandlerFunction;
-
-    Linker(Module *M, DiagnosticHandlerFunction DiagnosticHandler);
-    Linker(Module *M);
-    ~Linker();
-
-    Module *getModule() const { return Composite; }
-    void deleteModule();
-
-    /// \brief Link \p Src into the composite. The source is destroyed.
-    /// Returns true on error.
-    bool linkInModule(Module *Src);
-
-    static bool LinkModules(Module *Dest, Module *Src,
-                            DiagnosticHandlerFunction DiagnosticHandler);
-
-    static bool LinkModules(Module *Dest, Module *Src);
-
-  private:
-    void init(Module *M, DiagnosticHandlerFunction DiagnosticHandler);
-    Module *Composite;
-    SmallPtrSet<StructType*, 32> IdentifiedStructTypes;
-    DiagnosticHandlerFunction DiagnosticHandler;
+public:
+  typedef std::function<void(const DiagnosticInfo &)> DiagnosticHandlerFunction;
+
+  Linker(Module *M, DiagnosticHandlerFunction DiagnosticHandler);
+  Linker(Module *M);
+  ~Linker();
+
+  Module *getModule() const { return Composite; }
+  void deleteModule();
+
+  /// \brief Link \p Src into the composite. The source is destroyed.
+  /// Returns true on error.
+  bool linkInModule(Module *Src);
+
+  static bool LinkModules(Module *Dest, Module *Src,
+                          DiagnosticHandlerFunction DiagnosticHandler);
+
+  static bool LinkModules(Module *Dest, Module *Src);
+
+private:
+  void init(Module *M, DiagnosticHandlerFunction DiagnosticHandler);
+  Module *Composite;
+  SmallPtrSet<StructType *, 32> IdentifiedStructTypes;
+  DiagnosticHandlerFunction DiagnosticHandler;
 };
 
 } // End llvm namespace





More information about the llvm-commits mailing list