Skip to content

Commit 4c3c2b9

Browse files
committed
#2378: REMOVE_ME: use incorrect formatting
1 parent dd6630d commit 4c3c2b9

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/run-clang-format.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
with:
1212
fetch-depth: 0
1313
ref: ${{ github.event.pull_request.head.sha }}
14-
- name: ...
14+
- name: Run clang-format
1515
shell: bash
16-
run: git log --oneline ${{ github.base_ref }}..HEAD
16+
run: git clang-format --diff ${{ github.base_ref }}

examples/hello_world/hello_world.cc

+8-4
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,15 @@ void hello_world(int a, int b, float c) {
4848
fmt::print("{}: Hello from node vals = {} {} {}\n", this_node, a, b, c);
4949
}
5050

51-
int main(int argc, char** argv) {
52-
vt::initialize(argc, argv);
51+
int main(int argc,
52+
char** argv)
53+
{
54+
vt::initialize( argc,argv );
5355

54-
vt::NodeType this_node = vt::theContext()->getNode();
55-
vt::NodeType num_nodes = vt::theContext()->getNumNodes();
56+
vt::NodeType this_node =
57+
vt::theContext()->getNode();
58+
vt::NodeType num_nodes =
59+
vt::theContext()->getNumNodes();
5660

5761
if (num_nodes == 1) {
5862
return vt::rerror("requires at least 2 nodes");

0 commit comments

Comments
 (0)