Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️πŸͺ update pre-commit hooks #156

Merged
merged 1 commit into from
Apr 24, 2023

Conversation

@codecov
Copy link

codecov bot commented Mar 27, 2023

Codecov Report

Merging #156 (91c9371) into main (9d0c110) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #156   +/-   ##
=====================================
  Coverage   91.3%   91.3%           
=====================================
  Files         33      33           
  Lines       2691    2691           
=====================================
  Hits        2457    2457           
  Misses       234     234           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 4da3f62 to 9636d2a Compare April 3, 2023 20:06
@burgholzer burgholzer enabled auto-merge (squash) April 4, 2023 10:06
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 5823c31 to 8b2a0aa Compare April 17, 2023 19:14
@github-actions
Copy link

πŸ“œ Run clang-format on the following files

  • include/algorithms/synthesis/syrec_synthesis.hpp
  • src/algorithms/synthesis/syrec_synthesis.cpp

πŸ’¬ Output from clang-tidy

src/algorithms/synthesis/syrec_synthesis.cpp
/src/algorithms/synthesis/syrec_synthesis.cpp:82:49: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                if ((j != i) && (checkRhsVec.at(i) == checkRhsVec.at(j))) {
                                             ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:82:70: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                if ((j != i) && (checkRhsVec.at(i) == checkRhsVec.at(j))) {
                                                                  ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:279:45: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::map<std::basic_string, unsigned int>::mapped_type' (aka 'unsigned int')

                    loopMap[loopVariable] = i;
                                          ~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:522:41: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            removeActiveControl(dest.at(i));
                                     ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:523:94: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendNot(dest.at(i));
                                                                                          ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:601:58: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'unsigned long'

            partial.push_back(src2.at(src1.size() - 1U - i));
                                                       ~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:602:45: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            sum.insert(sum.begin(), src1.at(i));
                                         ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:603:38: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            addActiveControl(dest.at(i));
                                  ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:605:41: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            removeActiveControl(dest.at(i));
                                     ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:607:66: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'unsigned int'

                for (unsigned j = (static_cast<int>(src1.size()) - i); j < src1.size(); ++j) {
                              ~    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:610:112: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'unsigned long'

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendNot(src2.at(src1.size() - i));
                                                                                                             ~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:611:36: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'unsigned int'

                for (unsigned j = (static_cast<int>(src1.size()) + 1U - i); j < src1.size(); ++j) {
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~

/src/algorithms/synthesis/syrec_synthesis.cpp:611:73: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'unsigned int'

                for (unsigned j = (static_cast<int>(src1.size()) + 1U - i); j < src1.size(); ++j) {
                                                                      ~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:655:98: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(lhs.at(i), rhs.at(i));
                                                                                              ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:655:109: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(lhs.at(i), rhs.at(i));
                                                                                                         ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:658:98: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(lhs.at(i), lhs.at(i + 1));
                                                                                              ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:658:111: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(lhs.at(i), lhs.at(i + 1));
                                                                                                         ~~ ~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:661:101: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendToffoli(rhs.at(i), lhs.at(i), lhs.at(i + 1));
                                                                                                 ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:661:112: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendToffoli(rhs.at(i), lhs.at(i), lhs.at(i + 1));
                                                                                                            ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:661:125: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendToffoli(rhs.at(i), lhs.at(i), lhs.at(i + 1));
                                                                                                                       ~~ ~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:664:103: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(lhs.at(bitwidth - 1), rhs.at(bitwidth - 1));
                                                                                          ~~ ~~~~~~~~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:664:125: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(lhs.at(bitwidth - 1), rhs.at(bitwidth - 1));
                                                                                                                ~~ ~~~~~~~~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:667:101: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendToffoli(lhs.at(i), rhs.at(i), lhs.at(i + 1));
                                                                                                 ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:667:112: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendToffoli(lhs.at(i), rhs.at(i), lhs.at(i + 1));
                                                                                                            ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:667:125: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendToffoli(lhs.at(i), rhs.at(i), lhs.at(i + 1));
                                                                                                                       ~~ ~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:668:98: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(lhs.at(i), rhs.at(i));
                                                                                              ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:668:109: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(lhs.at(i), rhs.at(i));
                                                                                                         ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:674:98: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(lhs.at(i), lhs.at(i + 1));
                                                                                              ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:674:111: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(lhs.at(i), lhs.at(i + 1));
                                                                                                         ~~ ~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:677:98: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(lhs.at(i), rhs.at(i));
                                                                                              ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:677:109: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(lhs.at(i), rhs.at(i));
                                                                                                         ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:705:94: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(src.at(i), dest.at(i));
                                                                                          ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:705:106: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(src.at(i), dest.at(i));
                                                                                                      ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:709:103: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(src.at(bitwidth - 1), carry);
                                                                                          ~~ ~~~~~~~~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:712:94: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(src.at(i), src.at(i + 1));
                                                                                          ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:712:107: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(src.at(i), src.at(i + 1));
                                                                                                     ~~ ~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:716:97: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendToffoli(src.at(i), dest.at(i), src.at(i + 1));
                                                                                             ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:716:109: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendToffoli(src.at(i), dest.at(i), src.at(i + 1));
                                                                                                         ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:716:122: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendToffoli(src.at(i), dest.at(i), src.at(i + 1));
                                                                                                                    ~~ ~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:718:102: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

        (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendToffoli(src.at(bitwidth - 1), dest.at(bitwidth - 1), carry);
                                                                                         ~~ ~~~~~~~~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:718:125: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

        (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendToffoli(src.at(bitwidth - 1), dest.at(bitwidth - 1), carry);
                                                                                                                ~~ ~~~~~~~~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:721:94: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(src.at(i), dest.at(i));
                                                                                          ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:721:106: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(src.at(i), dest.at(i));
                                                                                                      ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:722:100: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendToffoli(dest.at(i - 1), src.at(i - 1), src.at(i));
                                                                                              ~~ ~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:722:115: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendToffoli(dest.at(i - 1), src.at(i - 1), src.at(i));
                                                                                                             ~~ ~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:722:128: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendToffoli(dest.at(i - 1), src.at(i - 1), src.at(i));
                                                                                                                            ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:726:94: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(src.at(i), src.at(i + 1));
                                                                                          ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:726:107: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(src.at(i), src.at(i + 1));
                                                                                                     ~~ ~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:730:94: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(src.at(i), dest.at(i));
                                                                                          ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:730:106: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendCnot(src.at(i), dest.at(i));
                                                                                                      ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:762:58: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'unsigned long'

            partial.push_back(src2.at(src1.size() - 1U - i));
                                                       ~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:763:45: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            sum.insert(sum.begin(), src1.at(i));
                                         ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:764:53: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            decreaseWithCarry(sum, partial, dest.at(i));
                                                 ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:765:38: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            addActiveControl(dest.at(i));
                                  ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:767:41: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            removeActiveControl(dest.at(i));
                                     ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:768:94: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long')

            (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendNot(dest.at(i));
                                                                                          ~~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:770:66: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'unsigned int'

                for (unsigned j = (static_cast<int>(src1.size()) - i); j < src1.size(); ++j) {
                              ~    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~

/src/algorithms/synthesis/syrec_synthesis.cpp:773:112: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'unsigned long'

                (*(get(boost::vertex_name, cctMan.tree)[cctMan.current].circ)).appendNot(src2.at(src1.size() - i));
                                                                                                             ~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:774:36: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'unsigned int'

                for (unsigned j = (static_cast<int>(src1.size()) + 1U - i); j < src1.size(); ++j) {
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~

/src/algorithms/synthesis/syrec_synthesis.cpp:774:73: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'unsigned int'

                for (unsigned j = (static_cast<int>(src1.size()) + 1U - i); j < src1.size(); ++j) {
                                                                      ~ ^

/src/algorithms/synthesis/syrec_synthesis.cpp:884:37: warning: [clang-diagnostic-shorten-64-to-32]

implicit conversion loses integer precision: 'std::vector::size_type' (aka 'unsigned long') to 'unsigned int'

            circ.insertCircuit(circ.numGates(), *(get(boost::vertex_name, cctMan.tree)[current].circ), get(boost::vertex_name, cctMan.tree)[current].controls);
                 ~~~~~~~~~~~~~ ~~~~~^~~~~~~~~~

/src/algorithms/synthesis/syrec_synthesis.cpp:901:26: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'unsigned int'

            unsigned n = static_cast<int>(var->getVar()->dimensions.size()); // dimensions
                     ~   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/src/algorithms/synthesis/syrec_synthesis.cpp:923:49: warning: [clang-diagnostic-sign-conversion]

implicit conversion changes signedness: 'int' to 'unsigned int'

                    lines.emplace_back(offset + i);
                                              ~ ^

updates:
- [github.com/psf/black: 23.1.0 β†’ 23.3.0](psf/black@23.1.0...23.3.0)
- [github.com/pre-commit/mirrors-clang-format: v15.0.7 β†’ v16.0.2](pre-commit/mirrors-clang-format@v15.0.7...v16.0.2)
- [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.6 β†’ v3.0.0-alpha.9-for-vscode](pre-commit/mirrors-prettier@v3.0.0-alpha.6...v3.0.0-alpha.9-for-vscode)
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 72a112a to 91c9371 Compare April 24, 2023 19:32
@burgholzer burgholzer merged commit 5e0212a into main Apr 24, 2023
@burgholzer burgholzer deleted the pre-commit-ci-update-config branch April 24, 2023 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant