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: Fixed
    • P2: Important
    • None
    • None
    • None
    • 13
    • b4b90bfba (dev), 70e92f49c (dev), fc5015877 (dev)
    • Foundation Sprint 110, Foundation Sprint 111, Foundation Sprint 112, Foundation Sprint 113, Foundation Sprint 114, Foundation Sprint 115

    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

        1. qt5_full.log
          20.24 MB
          Tatiana Borisova
        2. image-2024-08-22-16-38-42-364.png
          261 kB
          Tatiana Borisova
        3. clang-tidy-full.sh
          12 kB
          Tatiana Borisova

        Issue Links

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

          Activity

            People

              tatiana.borisova Tatiana Borisova
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: