[llvm-bugs] [Bug 26916] New: libclang failed to parse objective-c module

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 11 10:30:12 PST 2016


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

            Bug ID: 26916
           Summary: libclang failed to parse objective-c module
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: khaifeng at gmail.com
                CC: klimek at google.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

Whenever -fmodules is set, the code "@import some_objc_module;" will result in 
"could not build module some_objc_module".

The c module works without any problems.

@import OpenGL.GL3; // works fine
@import Foundation; // could not build module 'Foundation'
@import asdjfljalk; // module 'asdjfljalk' not found


This issue can be reproduced with a simple objective-c program and libclang
python binding.

The original thread is here
https://github.com/Valloric/YouCompleteMe/issues/1353

-- 
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/20160311/fff96818/attachment.html>


More information about the llvm-bugs mailing list