[cfe-dev] Difference between clang and clang++

Nikola Smiljanic popizdeh at gmail.com
Mon May 30 05:16:07 PDT 2011


On Mon, May 30, 2011 at 1:26 PM, Jonathan Sauer <jonathan.sauer at gmx.de>wrote:

> Hello,
>
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110530/b84f991b/attachment.html>


More information about the cfe-dev mailing list