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

libcplusplus doesn't parse 1LU, 1LLU etc

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.13.2, Qt Creator 4.15.0-rc1
    • Fix Version/s: Qt Creator 4.15.0
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      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

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

          Activity

            People

            Assignee:
            aha_1980 André Hartmann
            Reporter:
            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