Hi!

I am using the new Clang Code Model in Qt Creator to highlight violations.

Recently I introduced some experimental C++20 functions in my code. These 
functions are
integrated using a GCC header (<experimental/source_location>) that introduces 
three
intrinsics that are unknown to clang:

__builtin_FILE()
__builtin_FUNCTION()
__builtin_LINE()

As a result, the clang code analysis fails (indicated above the editor as a 
yellow warning
sign).

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?

-- 
Best Regards
Bernhard Lindner

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to