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

Autocomplete isn't working properly with macros from some header

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 4.10.0
    • C/C++/Obj-C++ Support
    • None
    • Windows 10
    • Windows

      Hello,

       

      I was trying to use the well-known glew library (version 2.1.0,  https://sourceforge.net/projects/glew/files/glew/2.1.0/glew-2.1.0.zip/download) and observed that the autocomplete for the macros defined inside include/GL/glew.h (after including it in my source) isn't working when ClangCodeModel plugin is enabled,

      I tried to reduce the limit for indexing to 1MB (this seems to be minimum limit), but it doesn't help.

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

            kandeler Christian Kandeler
            danimihalca Daniel Mihalca
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes