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

libcplusplus doesn't parse 1LU, 1LLU etc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important 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)

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes