Oops. Sent it to the wrong list.
Please keep the mailing list cc'd in your replies.
Thanks a lot.
From what I read, in order to use a clang program to analyze a cpp
code, I will first need to generate a .so file which I can use in a way
like this - $ clang -Xclang -load -Xclang
Ah, then this is what you're looking for:
The source for the example on that page is here:
I also want to ask if there is a specific format to write a clang
program. Like in writing a Java program, I know that I can take the
Clang is /just/ a C/C++/ObjC/ObjC++ compiler. If you're familiar with development in any of those languages, then clang is more or less just a drop-in replacement for gcc.