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
_Nullable
and_Nonnull
annotations 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
gcc
in favor ofclang
and idk ifgcc
is better at compiling or something I might be aware of.gcc
also usually comes installed by default andclang
would be an addtional dependecy step.A quick test even shows that
clang
made a ever so slightly smaller binary, idk about speed optimizations though.I mean, we're already using
clang-format
and I'm working on gettingclang-tidy
working too.Beta Was this translation helpful? Give feedback.
All reactions