How to use inlining technology in Clang static analysis?

Hello, everyone. I am a new comer to this forum. And now i want to do simple
inter-procedural check in Clang translation unit with function call inlining
technology. Could anyone tell me how to use it? Any sample code or document?
Any suggestion appreciated.
Thanks.

Hi, Yeping. The Clang analyzer isn't exactly designed to be used in pieces, modulo the CFG and support classes in libAnalysis. However, you can write your own "checker" that implements your check, and run it as part of the analyzer's usual execution.

We gave a talk at last year's LLVM Developer Meeting about how to write your own checker; hopefully you'll find it useful! See http://llvm.org/devmtg/2012-11/.

Best,
Jordan