Avoid generating noexcept bot comment on deleted or default move constructors and assignment operators

XMLWordPrintableJSON

    • Server Programmability
    • Programmability 2023-03-30
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Move constructors and assignment operators don't need to be marked noexcept when they are defined by =delete or =default but the bot will add a comment if it sees it in a PR. Example PR (src/mongo/db/query/collection_query_info.h:186)

      The script is at ./buildscripts/check_for_noexcept.py with tests at ./buildscripts/tests/test_check_for_noexcept.py.

            Assignee:
            Ryan Berryhill
            Reporter:
            Naafiyan Ahmed
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: