[AutoAccept][Codemod][FBSourceClangFormatLinter] Daily `arc lint --take CLANGFORMAT`
Reviewed By: zertosh
Differential Revision: D34196056
fbshipit-source-id: c3abe952844d09f2754c16589bbfc76b8986b9ff
(cherry picked from commit eedc480440f55538ba0204f6c593bfce084e60b7)
diff --git a/torch/csrc/jit/frontend/function_schema_parser.cpp b/torch/csrc/jit/frontend/function_schema_parser.cpp
index 9d6f05e..8a655d3 100644
--- a/torch/csrc/jit/frontend/function_schema_parser.cpp
+++ b/torch/csrc/jit/frontend/function_schema_parser.cpp
@@ -116,8 +116,12 @@
// overload with overload name as an empty string
// and so shouldn't be used as an overload name
// also disallow dunder attribute names to be overload names
- bool is_a_valid_overload_name = !((overload_name == "default") || (overload_name.rfind("__", 0) == 0));
- TORCH_CHECK(is_a_valid_overload_name, overload_name, " is not a legal overload name for aten operators");
+ bool is_a_valid_overload_name =
+ !((overload_name == "default") || (overload_name.rfind("__", 0) == 0));
+ TORCH_CHECK(
+ is_a_valid_overload_name,
+ overload_name,
+ " is not a legal overload name for aten operators");
return {name, overload_name};
}