Disable libclang host environment inference in macro reparsing

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • repo-panama
    • Affects Version/s: repo-panama
    • Component/s: tools

      Libclang always attempts to infer host environment variables, such as standard includes and standard libraries paths. This can cause inconsistencies when reparsing macro snippets, and in efficiencies, as libclang picks up more headers than it should.

      A way to disable this behavior is to pass the "-Xnostdinc" option to the reparse unit.

            Assignee:
            Maurizio Cimadamore
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: