Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 13638
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: 13638
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: Tue Jun 28 04:39:17 CEST 2022

Total time taken to generate the page: 0.01523 seconds