[webkit-dev] #endif // Foo_h

Darin Adler darin at apple.com
Mon Jan 4 15:41:06 PST 2010

On Jan 4, 2010, at 3:33 PM, Darin Fisher wrote:

> I noticed recently that the style bot started complaining about header files ending with "#endif" instead of "#endif // Foo_h".  I was surprised by this since the style guide does not require it.

I personally see little value in this sort of comment at the end of a header file. I’m not sure what kind of problem it’s supposed to prevent.

    -- Darin

More information about the webkit-dev mailing list