Issue 56687
Summary Missing switch case to handle `extern "C"` clause.
Labels new issue
Assignees
Reporter Makogan
    I was using the rust bindings for libclang when I noticed that the library was failing to properly parse functions declared in `extern "C"` blocks.

That led me to discover this stack overflow comment:
https://stackoverflow.com/a/16953774/6202327

Just as the comment says, the line is missing from the function, meaning that libclang does not properly return the correct flag.
https://github.com/llvm/llvm-project/blob/main/clang/lib/Sema/SemaCodeComplete.cpp#L3956

It's a one line change for an issue that has been there for almost 10 years. It would be nice if it could be addressed.

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

Reply via email to