U++ framework
Do not panic. Ask here before giving up.

Home » Community » Coffee corner » Anybody lucky using libclang?
Anybody lucky using libclang? [message #58451] Mon, 23 May 2022 16:51 Go to next message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
I am experimenting with clang library (that is, C-api to llvm/clang, with the intention of possible theide integration).

However, I must be missing something fundamental. I am trying publicly available examples, in Win32 or in Linux, with U++ and without. Each time I call clang_createTranslationUnit (to load ast) or e.g. clang_parseTranslationUnit2FullArgv, it ends with failure. clang_createIndex works.

Anybody with experience with this?

Mirek
Re: Anybody lucky using libclang? [message #58452 is a reply to message #58451] Tue, 24 May 2022 00:23 Go to previous message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
Problem solved. (the problem was that libclang reacts this way to invalid commandline arguments to clang_parseTranslationUnit2FullArgv)
Previous Topic: Anybody proficient in Rust?
Next Topic: Indic Fonts display - UPP
Goto Forum:
  


Current Time: Sat May 02 01:24:13 GMT+2 2026

Total time taken to generate the page: 0.00626 seconds