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 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
