[JIT] clang-format JIT code (#35115)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35115

This commit runs the newly added tools/clang_format.py on the JIT
codebase and includes all of the formatting changes thus produced.

Testing:
Ran the script, CI.

Test Plan: Imported from OSS

Reviewed By: eellison

Differential Revision: D20568523

Pulled By: SplitInfinity

fbshipit-source-id: e09bdb982ccf090eecfb7c7b461b8d0681eef82b
This commit is contained in:
Meghan Lele
2020-03-26 11:15:49 -07:00
committed by Facebook GitHub Bot
parent 1422d2cd8b
commit 6384c2d81b
225 changed files with 3593 additions and 3233 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
#include <test/cpp/jit/tests.h>
#include <c10/util/Exception.h>
#include <test/cpp/jit/tests.h>
namespace torch {
namespace jit {
@@ -18,8 +18,8 @@ JIT_TEST_API void runJITCPPTests(bool runCuda) {
}
// This test is special since it requires prior setup in python.
// So it is not part of the general test list (which is shared between the gtest
// and python test runners), but is instead invoked manually by the
// So it is not part of the general test list (which is shared between the
// gtest and python test runners), but is instead invoked manually by the
// torch_python_test.cpp
testEvalModeForLoadedModule();
testTorchSaveError();