[cfe-dev] Difference between clang and clang++
Jonathan Sauer
jonathan.sauer at gmx.de
Mon May 30 05:34:28 PDT 2011
>> If clang is called via the symlink clang++, argv[0] is "clang++" instead of "clang". Look into
>> driver.cpp, function ParseProgName, where this is checked. There are quite a few supported names
>> (suffixes, actually).
>
> Fantastic, I was wondering what was argv[0] good for, now I know. Thanks.
Someone should write a patch for clang so that when it is called as "WOPR", it lets you play a game
of Global Thermonuclear War.
Jonathan
More information about the cfe-dev
mailing list