Commit 443de6e6 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Update clang-format to 16 as from LCG, apply formatting

(cherry picked from commit a5f49ed7)
parent c8cb2140
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -367,9 +367,9 @@ ADD_RUNTIME_DEP(thisroot.sh)
###################################

# Set the clang-format version required by the CI for correct formatting:
SET(CLANG_FORMAT_VERSION "12")
SET(CLANG_FORMAT_VERSION "16")
# Set the clang-tidy version of the linter required by the CI:
SET(CLANG_TIDY_VERSION "12")
SET(CLANG_TIDY_VERSION "16")

# Set the source files to clang-format (FIXME: determine this better)
FILE(
+2 −1
Original line number Diff line number Diff line
@@ -244,7 +244,8 @@ void DepositionGeant4Module::initialize() {
                region->AddRootLogicalVolume(logical_volume.get());

                LOG(DEBUG) << "Added " << logical_volume->GetName() << " to region " << region->GetName()
                           << " for MicroElec physics" << "\n";
                           << " for MicroElec physics"
                           << "\n";
            }
        }
    }
+2 −1
Original line number Diff line number Diff line
@@ -125,7 +125,8 @@ std::string MeshElement::print(Point& qp) const {
    std::stringstream stream;
    for(size_t index = 0; index < dimension_ + 1; index++) {
        stream << "Tetrahedron vertex (" << vertices_[index].x << ", " << vertices_[index].y << ", " << vertices_[index].z
               << ") - " << " Distance: " << get_distance(index, qp) << " - Electric field: (" << e_field_[index].x << ", "
               << ") - "
               << " Distance: " << get_distance(index, qp) << " - Electric field: (" << e_field_[index].x << ", "
               << e_field_[index].y << ", " << e_field_[index].z << ")" << std::endl;
    }
    stream << "Volume: " << volume_;
+1 −1

File changed.

Contains only whitespace changes.