Modularity of Clang

Clang has modular architecture. How to extract sources from Clang to work with only preporcessor or syntax checking?