[Interest] Qt Creator, Clang Code Model, supplying specific GCC symbols

Bernhard Lindner private at bernhard-lindner.de
Sun Dec 23 02:10:51 CET 2018


> > What is the best/designated way to supply relacement macros for those
> > symbols so the clang analysis succeeds? Is there some configuration/setting
> > in Qt Creator? Should I patch the code? Should I pass this to clang as
> > command line arguments?
> 
> You should contribute the functionality to Clang so that when the code model 
> links to that version of LLVM/Clang, it will know how to proceed.

Is that the only solution? There is no way to work around?

-- 
Best Regards, 
Bernhard




More information about the Interest mailing list