[lld] r227232 - [Core] Reformat the code with clang-format

Simon Atanasyan simon at atanasyan.com
Tue Jan 27 12:23:51 PST 2015


Author: atanasyan
Date: Tue Jan 27 14:23:51 2015
New Revision: 227232

URL: http://llvm.org/viewvc/llvm-project?rev=227232&view=rev
Log:
[Core] Reformat the code with clang-format

No functional changes.

Modified:
    lld/trunk/include/lld/Core/Simple.h

Modified: lld/trunk/include/lld/Core/Simple.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/Simple.h?rev=227232&r1=227231&r2=227232&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/Simple.h (original)
+++ lld/trunk/include/lld/Core/Simple.h Tue Jan 27 14:23:51 2015
@@ -190,7 +190,9 @@ public:
 
   Scope scope() const override { return DefinedAtom::scopeLinkageUnit; }
 
-  Interposable interposable() const override { return DefinedAtom::interposeNo; }
+  Interposable interposable() const override {
+    return DefinedAtom::interposeNo;
+  }
 
   Merge merge() const override { return DefinedAtom::mergeNo; }
 
@@ -233,7 +235,8 @@ public:
                     Reference::KindValue kindValue, uint64_t off,
                     const Atom *target, Reference::Addend a) {
     assert(target && "trying to create reference to nothing");
-    auto node = new (_file.allocator()) SimpleReference(ns, arch, kindValue, off, target, a);
+    auto node = new (_file.allocator())
+        SimpleReference(ns, arch, kindValue, off, target, a);
     _references.push_back(node);
   }
 
@@ -267,9 +270,9 @@ public:
 private:
   typedef llvm::ilist<SimpleReference> RefList;
 
-  const File                   &_file;
-  uint64_t                      _ordinal;
-  mutable RefList               _references;
+  const File &_file;
+  uint64_t _ordinal;
+  mutable RefList _references;
 };
 
 class SimpleUndefinedAtom : public UndefinedAtom {





More information about the llvm-commits mailing list