[cfe-dev] Easy way to find out if the SourceLoc is in main file

Ramneek Handa ramneekhanda at gmail.com
Thu Nov 29 00:03:57 PST 2012

Hi Guys, 
  I know there is a function to find out if SourceLoc is in system headers and also if it is before some other SourceLoc. 

My Question is there anyway to tell if it is in the main file that we are parsing (typically a cpp but could be a header)? 


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

More information about the cfe-dev mailing list