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

Clang: error underline at wrong position

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.6.0
    • Qt Creator 3.6.0-rc1
    • C/C++/Obj-C++ Support
    • None
    • Windows, MSVC

    Description

      1. Create a Qt Unit Test from the wizard
      2. Observation: The almost last line #include "tst_untitled43test.moc" has an error marker on the editor's margin bar.
      3. Add a new line to the very top of the file
      4. Observation: the moc line gets a single char underline.
      5. Type // license header at the new line position (very first line)
      6. Observation: diagnostics/underline stays the same
      7. Save, close and re-open the file
      8. Observation: The first line has an underline, but shouldn't.

      Attachments

        Activity

          People

            kosjar Nikolai Kosjar
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: