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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs