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

libcplusplus doesn't parse 1LU, 1LLU etc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 4.15.0
    • Qt Creator 4.13.2, Qt Creator 4.15.0-rc1
    • C/C++/Obj-C++ Support
    • None
    • All
    • 2df71c579813f2c8c8a52941d8ec0208b32c9d5c (qt-creator/tqtc-qt-creator/4.15)

    Description

      enum E {
          E1 = 1LU,
          E2 = 1UL,
      }; 

       1LU line becomes red, breaking parsing for the rest of the enum.

       It looks like only ULL/UL suffixes is recognized but other variants are valid C/C++ code.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-25604
        # Subject Branch Project Status CR V

        Activity

          People

            aha_1980 André Hartmann
            adobriyan A D
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes