[cfe-dev] [llvm-dev] Modernizing LLVM Coding Style Guide and enforcing Clang-tidy

Renato Golin via cfe-dev cfe-dev at lists.llvm.org
Mon Jan 9 10:29:51 PST 2017


On 9 January 2017 at 18:20, Reid Kleckner <rnk at google.com> wrote:
> I object to the first. If you need a new type name, use a typedef. It's time
> honored and everyone, including C programmers, will know what you're doing.
> I don't understand why people push the new thing just for the sake of
> new-ness.

The text read "prefer", which I think it's fair. I'm opposed to any
hard rule for the sake of new-ness, consistency, or personal
preference.

If we encode all nit-rules as "prefer", then it should be more like a
guideline than a rule book, which has been our motto for everything
else.

cheers,
--renato



More information about the cfe-dev mailing list