Is there any way to get clang::SourceLocation
for every #include
in file by its clang::FileID
or clang::FileEntry
or something?
What about using source manager's GetIncludedLoc function which takes fileid as parameter.
SourceManager.GetIncludedLoc(fileid)