[llvm-bugs] [Bug 32923] New: reparse does not take created header files into account

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 4 08:28:08 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=32923

            Bug ID: 32923
           Summary: reparse does not take created header files into
                    account
           Product: clang
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nikolai.kosjar at qt.io
                CC: klimek at google.com, llvm-bugs at lists.llvm.org

Created attachment 18408
  --> https://bugs.llvm.org/attachment.cgi?id=18408&action=edit
Source and test data to reproduce.

$ cd addHeaderLater/data
$ path/to/libclangclient main.cpp 
### Parsing + reparsing, diagnostics are:
Parsing main.cpp:   0.0012 (100.0%)  
Precompiling preamble:   0.0120 (100.0%)   0.0120 (100.0%)   0.0104 (100.0%)  
Cache global code completions for main.cpp:   0.0006 (100.0%)  
Reparsing main.cpp:   0.0120 (100.0%)   0.0120 (100.0%)   0.0121 (100.0%)  
-- Extracted diagnostic: 1:10: 'header.h' file not found
### Creating header on disk...
### Reparsing, diagnostics are:
Reparsing main.cpp:   0.0040 (100.0%)   0.0040 (100.0%)   0.0007 (100.0%)  
-- Extracted diagnostic: 1:10: 'header.h' file not found

Although the header is created on disk, a reparse still emits that the file is
not found.

Might be related to https://bugs.llvm.org//show_bug.cgi?id=28536 .

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170504/ccff5b94/attachment.html>


More information about the llvm-bugs mailing list