Issue 115422
Summary [libclang] Header files of CXUnsavedFile can not be found while clang_parseTranslationUnit
Labels new issue
Assignees
Reporter sainimu78
    As a contrast, if I save my headers in memory to disk, clang_parseTranslationUnit works fine.

This seems an issue of not treating files finding in a common way for the location of both CXUnsavedFile file and the regular disk file.

Some details:
I try to create a series of STL header, like this
`CXUnsavedFile memSrc;
memSrc.Filename = "Source/BypassSTL/string"
memsrc.Contents = "..."
`
and compiler opts pass to clang_parseTranslationUnit contains "-ISource/BypassSTL"

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to