search for: getexpansionlinenumber

Displaying 1 result from an estimated 1 matches for "getexpansionlinenumber".

2014 Dec 09
3
[LLVMdev] [cfe-dev][Openmp-dev] Clang Plugin to analyze OpenMP AST
...(in terms of lines of code), and then get the the same information for their children (lines of code of the other statement in the OpenMP construct). In my example, once I find the OMPParallelForDirectiveClass statement I am trying to print line of code using the 3 functions getSpellingLineNumber, getExpansionLineNumber and get PresumedLineNumber using the location start and location end, however the numbers are all equal. Also, I am looping into its children and the last statement that I got is that one before the closed bracket of the OpenMP constructs. Can I suppose that "the line of code of the last state...