diff options
author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2025-05-15 07:36:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-15 07:36:53 -0500 |
commit | 8e2ac7d6194451cbe2b7203212f2bb4f278e6438 (patch) | |
tree | 3a25750a82f9616997cffd274148b86265392c2c /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b26adacc8550bc8786ecba08ec87d0b228930bf4 (diff) | |
download | llvm-8e2ac7d6194451cbe2b7203212f2bb4f278e6438.zip llvm-8e2ac7d6194451cbe2b7203212f2bb4f278e6438.tar.gz llvm-8e2ac7d6194451cbe2b7203212f2bb4f278e6438.tar.bz2 |
[llvm][OpenMP] Add "SourceLanguages" property to Directive (#139960)
The official languages that OpenMP recognizes are C/C++ and Fortran.
Some OpenMP directives are language-specific, some are C/C++-only, some
are Fortran-only.
Add a property to the TableGen definition of Directive that will be the
list of languages that allow the directive.
The TableGen backend will then generate a bitmask-like enumeration
SourceLanguages, and a function
SourceLanguages getDirectiveLanguages(Directive D);
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions