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

Autocomplete isn't working properly with macros from some header

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: