[cfe-dev] Distinguishing system headers from user headers using libclang

Mikołaj Siedlarek m.siedlarek at nctz.net
Tue Apr 2 01:33:50 PDT 2013


I'm writing a simple code dependency analysis tool using libclang and I'm missing some way of distinguishing system headers from user headers. I see clang::DirectoryLookup::getDirCharacteristic() provides such interface, but is there any way I could obtain this information using just libclang? My tool is rather simple and I'd like to keep it that way - libclang seems to be sufficient for the rest of my needs.

Mikołaj Siedlarek
m.siedlarek at nctz.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130402/ba023286/attachment.html>

More information about the cfe-dev mailing list