Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-105464

Use q20::{cmp_{equal,not_equal,{less,greater}{,_equal}},in_range} around the code

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • None

    Description

      There're no acceptance criteria for this ticket. It exists to collect changes that introduce uses of the q20 versions of https://en.cppreference.com/w/cpp/utility#Integer_comparison_functions via Task-number:

      Acceptance Criteria:

      • pick two Qt libraries that are most likely to exhibit problems with integer comparison
      • port these two libraries to the new functions
      • bonus: write a clang-tidy fit-it for it (if not, make a follow-up ticket)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mmutz Marc Mutz
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes