Replies: 1 comment 4 replies
-
|
-1 on this I wouldn't like supporting only clang instead of GCC. You're also right on the clang dependency addition, it is quite a heavy package and does not fit the simplicity and lightweight nature of this project, in my opinion. Or would clang only be used for code analysis? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Wanted to get some community feedback on this. Clang supports using
_Nullableand_Nonnullannotations on pointers that seem too sweet and I'd like to use them without filling the code with macro use of:Imo its just better in general to not put a million hacks to support several analysis tools and focus on a common compatible toolset, but this would mean dropping
gccin favor ofclangand idk ifgccis better at compiling or something I might be aware of.gccalso usually comes installed by default andclangwould be an addtional dependecy step.A quick test even shows that
clangmade a ever so slightly smaller binary, idk about speed optimizations though.I mean, we're already using
clang-formatand I'm working on gettingclang-tidyworking too.Beta Was this translation helpful? Give feedback.
All reactions