passlab / ompparser

ompparser: A Standalone and Unified OpenMP Parser
https://github.com/passlab/ompparser
Other
5 stars 1 forks source link

let user to specify whether it is for C, C++ or Fortran #80

Closed yanyh15 closed 1 year ago

yanyh15 commented 4 years ago

Even for C and C++, there are clauses that are different, e.g. linear. Default is C. We have an API for user to explicitly set the language.

ouankou commented 1 year ago

It's been addressed by adding setLang() and the corresponding global variable.