diff options
author | 2023-08-30 03:36:46 +0200 | |
---|---|---|
committer | 2023-08-29 18:36:46 -0700 | |
commit | 3f95ac68a1d7cf764f58e360ae9b4c43e5913095 (patch) | |
tree | 5da34d67f9fcdf0086d73e077b677ccf9b870541 /Source/Utils/Parser/IntervalsParser.cpp | |
parent | 71432aac4ef37b0c3476a2af2255140af3188669 (diff) | |
download | WarpX-3f95ac68a1d7cf764f58e360ae9b4c43e5913095.tar.gz WarpX-3f95ac68a1d7cf764f58e360ae9b4c43e5913095.tar.zst WarpX-3f95ac68a1d7cf764f58e360ae9b4c43e5913095.zip |
Clang tidy CI test: add more readability checks to clang tidy CI test (#4146)
* add more readability checks to clang-tidy CI test
* reformat check list
* starting to address issues found with clang-tidy£
* addressing issues
* remove check
* address issues
* address all issues
* address issue found with github code scanning
Diffstat (limited to 'Source/Utils/Parser/IntervalsParser.cpp')
-rw-r--r-- | Source/Utils/Parser/IntervalsParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Utils/Parser/IntervalsParser.cpp b/Source/Utils/Parser/IntervalsParser.cpp index dd72ba900..35d13143d 100644 --- a/Source/Utils/Parser/IntervalsParser.cpp +++ b/Source/Utils/Parser/IntervalsParser.cpp @@ -166,7 +166,7 @@ utils::parser::BTDIntervalsParser::BTDIntervalsParser ( { const bool isBTD = true; const SliceParser temp_slice(inslc, isBTD); - if (m_slices.size() > 0) + if (!m_slices.empty()) { // find the last index i_slice where // the start value of m_slices[i_slice] is greater than temp_slices' start_value @@ -199,7 +199,7 @@ utils::parser::BTDIntervalsParser::BTDIntervalsParser ( // // for Slice temp_slice in m_slices, // determine the largest index in m_btd_iterations smaller than start - if (m_btd_iterations.size() == 0) + if (m_btd_iterations.empty()) { btd_iter_ind = 0; } |