[cfe-dev] How to use compilerInstance to analyze multiple cpp file

lotay 158481612 at qq.com
Thu Dec 19 03:47:42 PST 2013

Add one file as main FileEntry in the FileManager, and add other cpp file as
"normal" FileEntry-s (not the Main FileEntry).

For example, 

main function locates in the Main.cpp, while Main.cpp include other header
files, these header file "XXX.h" contain namespace, class and its methods
declaration, while the implementation of these methods locate in "own"
"XXX.cpp" files,

The question is whether I can add these cpp files in the FileManager as
"normal" FileEntrys.

Thanks in advance.....

View this message in context: http://clang-developers.42468.n3.nabble.com/How-to-use-compilerInstance-to-analyze-multiple-cpp-file-tp4036700.html
Sent from the Clang Developers mailing list archive at Nabble.com.

More information about the cfe-dev mailing list