[cfe-commits] [libcxx] r119611 - /libcxx/trunk/include/algorithm

Chris Lattner clattner at apple.com
Sat Nov 20 12:48:04 PST 2010


On Nov 20, 2010, at 10:20 AM, Howard Hinnant wrote:

> Unfortunately "file types" are usually recognized by their suffix (e.g. *.h) and the standard headers don't have a suffix (yet another amazing feature brought to you by design-by-committee ;-)).  I've put the following line as the top line of each header in an attempt to help the editor discover the file type:
> 
> // -*- C++ -*-
> 
> If anyone knows of a better technique, I'd be happy to apply it.

I think that's the best approach, it is what we do on the llvmcore side of things.

-Chris



More information about the cfe-commits mailing list