Skip to content

Break C++ style#33

Open
pshriwise wants to merge 4 commits intodevelopfrom
break-style
Open

Break C++ style#33
pshriwise wants to merge 4 commits intodevelopfrom
break-style

Conversation

@pshriwise
Copy link
Owner

Description

Please include a summary of the change and which issue is fixed if applicable. Please also include relevant motivation and context.

Fixes # (issue)

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format (version 15) on any C++ source files (if applicable)
  • I have followed the style guidelines for Python source files (if applicable)
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

@pshriwise
Copy link
Owner Author

/format plz

@github-actions
Copy link

No C++ formatting changes were needed for this branch.

Reviewed commit: a650fb5d8bdce8057b568b7e7cc46f8e0273c22d

@pshriwise
Copy link
Owner Author

/format

@pshriwise
Copy link
Owner Author

/cpp-format-suggest

@github-actions
Copy link

No C++ formatting changes were needed for this branch.

Reviewed commit: a650fb5d8bdce8057b568b7e7cc46f8e0273c22d

@pshriwise
Copy link
Owner Author

/cpp-format-suggest pls

@github-actions github-actions bot added the cpp-format-suggest Trigger C++ format suggestion workflow label Feb 20, 2026
@github-actions
Copy link

Queued C++ format suggestions run.

@github-actions github-actions bot removed the cpp-format-suggest Trigger C++ format suggestion workflow label Feb 20, 2026
@github-actions
Copy link

Queued C++ format suggestions run.

@github-actions github-actions bot added the cpp-format-suggest Trigger C++ format suggestion workflow label Feb 20, 2026
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-linter Review

Used clang-format v15.0.7

Click here for the full clang-format patch
diff --git a/src/plot.cpp b/src/plot.cpp
index 9d450d2..ea05552 100644
--- a/src/plot.cpp
+++ b/src/plot.cpp
@@ -2542 +2542 @@ extern "C" int openmc_solidraytrace_plot_set_diffuse_fraction(
-  plt->diffuse_fraction() =  diffuse_fraction;
+  plt->diffuse_fraction() = diffuse_fraction;

Have any feedback or feature suggestions? Share it here.

@coveralls
Copy link

coveralls commented Feb 20, 2026

Coverage Status

coverage: 81.824% (-0.01%) from 81.838%
when pulling cff99b9 on break-style
into 3f6ed0f on develop.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-linter Review

Used clang-format v15.0.7

Click here for the full clang-format patch
diff --git a/src/plot.cpp b/src/plot.cpp
index 9d450d2..ea05552 100644
--- a/src/plot.cpp
+++ b/src/plot.cpp
@@ -2542 +2542 @@ extern "C" int openmc_solidraytrace_plot_set_diffuse_fraction(
-  plt->diffuse_fraction() =  diffuse_fraction;
+  plt->diffuse_fraction() = diffuse_fraction;

Have any feedback or feature suggestions? Share it here.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-linter Review

Used clang-format v15.0.7

Click here for the full clang-format patch
diff --git a/src/plot.cpp b/src/plot.cpp
index 9d450d2..ea05552 100644
--- a/src/plot.cpp
+++ b/src/plot.cpp
@@ -2542 +2542 @@ extern "C" int openmc_solidraytrace_plot_set_diffuse_fraction(
-  plt->diffuse_fraction() =  diffuse_fraction;
+  plt->diffuse_fraction() = diffuse_fraction;

Have any feedback or feature suggestions? Share it here.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-linter Review

Used clang-format v15.0.7

Click here for the full clang-format patch
diff --git a/src/plot.cpp b/src/plot.cpp
index 9d450d2..ea05552 100644
--- a/src/plot.cpp
+++ b/src/plot.cpp
@@ -2542 +2542 @@ extern "C" int openmc_solidraytrace_plot_set_diffuse_fraction(
-  plt->diffuse_fraction() =  diffuse_fraction;
+  plt->diffuse_fraction() = diffuse_fraction;

Have any feedback or feature suggestions? Share it here.

@pshriwise pshriwise removed the cpp-format-suggest Trigger C++ format suggestion workflow label Feb 20, 2026
@github-actions
Copy link

C++ formatting checks failed. Add the cpp-format-suggest label to this PR to enable inline formatting suggestions on the next run.

@pshriwise pshriwise added the cpp-format-suggest Trigger C++ format suggestion workflow label Feb 20, 2026
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-linter Review

Used clang-format v15.0.7

Click here for the full clang-format patch
diff --git a/src/plot.cpp b/src/plot.cpp
index 9d450d2..ea05552 100644
--- a/src/plot.cpp
+++ b/src/plot.cpp
@@ -2542 +2542 @@ extern "C" int openmc_solidraytrace_plot_set_diffuse_fraction(
-  plt->diffuse_fraction() =  diffuse_fraction;
+  plt->diffuse_fraction() = diffuse_fraction;

Have any feedback or feature suggestions? Share it here.

}

plt->diffuse_fraction() = diffuse_fraction;
plt->diffuse_fraction() = diffuse_fraction;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-format suggestion

Suggested change
plt->diffuse_fraction() = diffuse_fraction;
plt->diffuse_fraction() = diffuse_fraction;

@pshriwise pshriwise removed the cpp-format-suggest Trigger C++ format suggestion workflow label Feb 20, 2026
@github-actions
Copy link

C++ formatting checks failed. Add the cpp-format-suggest label to this PR to enable inline formatting suggestions on the next run.

@pshriwise pshriwise added the cpp-format-suggest Trigger C++ format suggestion workflow label Feb 20, 2026
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-linter Review

Used clang-format v15.0.7

Click here for the full clang-format patch
diff --git a/src/plot.cpp b/src/plot.cpp
index 9d450d2..ea05552 100644
--- a/src/plot.cpp
+++ b/src/plot.cpp
@@ -2542 +2542 @@ extern "C" int openmc_solidraytrace_plot_set_diffuse_fraction(
-  plt->diffuse_fraction() =  diffuse_fraction;
+  plt->diffuse_fraction() = diffuse_fraction;

Have any feedback or feature suggestions? Share it here.

}

plt->diffuse_fraction() = diffuse_fraction;
plt->diffuse_fraction() = diffuse_fraction;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-format suggestion

Suggested change
plt->diffuse_fraction() = diffuse_fraction;
plt->diffuse_fraction() = diffuse_fraction;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cpp-format-suggest Trigger C++ format suggestion workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants