Displaying 1 result from an estimated 1 matches for "ompparallelfordirective".
2014 Dec 09
3
[LLVMdev] [cfe-dev][Openmp-dev] Clang Plugin to analyze OpenMP AST
...ut the OpenMP constructs from the AST.
I am basically writing a “RecursiveASTVisitor” and I am trying to find the OpenMP statement and get information like filename and line of code.
When I am visiting recursively each statement I have my own switch on the “StmtClass” and for now I am focusing on “OMPParallelForDirectiveClass”.
In my understanding, once I find the beginning of the OpenMP statement, its children are all the statement inside the OpenMP construct.
I was wondering if there is a way to know the lines of code where the OpenMP construct starts and where it finishes (in terms of lines of code), and then ge...