Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32399

Qt Creator crashes when typing specific code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 13.0.0
    • None
    • Linux/X11

      How to reproduce:

      Copy/paste this code into Qt Creator:

      #include <type_traits>
      template <class T, class U>
      requires(requires /* type { after this comment -> */ std::declval<T &>() = std::declval<U>())
      void f() {}
      

      Then do as the comment says and add the { at the indicated position. This causes a segmentation fault in Qt Creator.

       I have a 78MB core dump, but the file size limit does not allow it.

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

            ansemkiv Andrii Semkiv
            toeger Toe Ger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes