[cfe-dev] Where to find the main function?

Eli Friedman eli.friedman at gmail.com
Wed Sep 9 01:50:44 PDT 2009


On Wed, Sep 9, 2009 at 1:04 AM, zhunan<zhunansjtu at gmail.com> wrote:
> Hi,all
>
> I'm begin to hacking Clang,but I can't find the main function in the
> doxygen-generated page,who can tell me where is the "main()"?

There are two primary ones which get invoked for a normal call to the
"clang" executable; one is in clang/tools/clang-cc/clang-cc.cpp, and
one is in clang/tools/driver/driver.cpp.

-Eli



More information about the cfe-dev mailing list