[AutoAccept][Codemod][FBSourceClangFormatLinter] Daily `arc lint --take CLANGFORMAT`

Reviewed By: zertosh

Differential Revision: D31166199

fbshipit-source-id: 3fb46d64aba5e7c443b70beda77338f2ee63a99e
diff --git a/torch/csrc/jit/passes/constant_propagation.cpp b/torch/csrc/jit/passes/constant_propagation.cpp
index f17904b..2dac021 100644
--- a/torch/csrc/jit/passes/constant_propagation.cpp
+++ b/torch/csrc/jit/passes/constant_propagation.cpp
@@ -59,7 +59,10 @@
           n->inputs().size());
     } break;
     case prim::CreateObject: {
-      createObject(stack, n->output()->type()->expect<ClassType>(), /*use_weak_ref*/true);
+      createObject(
+          stack,
+          n->output()->type()->expect<ClassType>(),
+          /*use_weak_ref*/ true);
     } break;
     case prim::GetAttr: {
       auto attr = pop(stack).toObject()->getAttr(n->s(attr::name));
diff --git a/torch/csrc/jit/passes/freeze_module.cpp b/torch/csrc/jit/passes/freeze_module.cpp
index 3dccaf6..a272332 100644
--- a/torch/csrc/jit/passes/freeze_module.cpp
+++ b/torch/csrc/jit/passes/freeze_module.cpp
@@ -471,7 +471,8 @@
               if (object_memo_.count(attr.toObject())) {
                 attr = object_memo_[attr.toObject()];
               } else {
-                auto weak_class_obj = attr.toObject()->copy_to_weak_compilation_ref();
+                auto weak_class_obj =
+                    attr.toObject()->copy_to_weak_compilation_ref();
                 object_memo_[attr.toObject()] = weak_class_obj;
                 attr = weak_class_obj;
               }
@@ -769,7 +770,10 @@
   std::deque<std::string> names_;
 
   // see [Constant Object Weak CompilationUnit Reference]
-  std::unordered_map<c10::intrusive_ptr<at::ivalue::Object>, c10::intrusive_ptr<at::ivalue::Object>> object_memo_;
+  std::unordered_map<
+      c10::intrusive_ptr<at::ivalue::Object>,
+      c10::intrusive_ptr<at::ivalue::Object>>
+      object_memo_;
 
 }; // class AttributePropagator
 
diff --git a/torch/csrc/jit/runtime/vararg_functions.cpp b/torch/csrc/jit/runtime/vararg_functions.cpp
index 4fa3883..3c39da1 100644
--- a/torch/csrc/jit/runtime/vararg_functions.cpp
+++ b/torch/csrc/jit/runtime/vararg_functions.cpp
@@ -320,7 +320,10 @@
   push(stack, std::move(vals));
 }
 
-void createObject(Stack& stack, const at::ClassTypePtr& type, bool as_weak_ref) {
+void createObject(
+    Stack& stack,
+    const at::ClassTypePtr& type,
+    bool as_weak_ref) {
   if (as_weak_ref) {
     c10::WeakTypePtr weak(type->compilation_unit(), type);
     auto userObj = c10::ivalue::Object::create(
diff --git a/torch/csrc/jit/runtime/vararg_functions.h b/torch/csrc/jit/runtime/vararg_functions.h
index 2ca9bd7..1963684 100644
--- a/torch/csrc/jit/runtime/vararg_functions.h
+++ b/torch/csrc/jit/runtime/vararg_functions.h
@@ -34,7 +34,10 @@
 
 // as weak_ref will create a Object with a non-owning CompilationUnit reference,
 // for use as a constant in the Graph to avoid a reference cycle
-void createObject(Stack& stack, const at::ClassTypePtr& type, bool as_weak_ref=false);
+void createObject(
+    Stack& stack,
+    const at::ClassTypePtr& type,
+    bool as_weak_ref = false);
 
 void isinstance(Stack& stack, at::ArrayRef<at::TypePtr> types);