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

Only one character underlined for error found by Clang Code Model

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 3.6.0
    • C/C++/Obj-C++ Support
    • None
    • Windows 7 64 bit

    Description

      1. Enable the ClangCodeModel plugin and restart Creator.
      2. In "Tools" -> "Options..." -> "C++" -> "Code Model", enable the Clang Code Model.
      3. Create a new Plain C++ Project.
      4. Make the include invalid by changing the desired filename.
        Clang will detect the error but only underline the "<":

      When there's an error in the code, the whole line should be underlined. With Creator's built-in code model, this works correctly.

      Attachments

        1. include.png
          1 kB
          Robert Löhning

        Issue Links

          Activity

            People

              kosjar Nikolai Kosjar
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: