diff options
author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2025-07-23 08:25:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-23 08:25:33 -0500 |
commit | 43db6c5cc1a81b540ddca49bee197895c420ec2d (patch) | |
tree | a5222f570c519a7fae3bce821bfec652cbd8a39c /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 081b74caf5fbfe04abc372c453cb1d6fc8f781a7 (diff) | |
download | llvm-43db6c5cc1a81b540ddca49bee197895c420ec2d.zip llvm-43db6c5cc1a81b540ddca49bee197895c420ec2d.tar.gz llvm-43db6c5cc1a81b540ddca49bee197895c420ec2d.tar.bz2 |
[flang][OpenMP] General utility to get directive id from AST node (#150121)
Fortran::parser::omp::GetOmpDirectiveName(t) will get the
OmpDirectiveName object that corresponds to construct t. That object (an
AST node) contains the enum id and the source information of the
directive.
Replace uses of extractOmpDirective and getOpenMPDirectiveEnum with the
new function.
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions