[cfe-dev] [PATCH] Add support for "c++" file extension

Douglas Gregor dgregor at apple.com
Tue Jun 22 16:43:56 PDT 2010


On Jun 19, 2010, at 1:39 AM, Seth Cantrell wrote:

> Hello,
> 
> Here's a small patch to add support for the file extension 'c++'.

Thanks, committed as r106602.

> I'm wondering if there would be any support for the idea of using platform specific APIs in the Driver to identify input files' types. For example, on Mac OS X a function 'types::ID HostInfo::lookupTypeForFile(const char *Filename)' might call into Mac OS X's APIs for identifying the file's type.


Personally, I don't see much benefit to this, since a compiler isn't a user-level application. 

	- Doug



More information about the cfe-dev mailing list