aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <Krzysztof.Parzyszek@amd.com>2025-10-16 11:59:40 -0500
committerGitHub <noreply@github.com>2025-10-16 11:59:40 -0500
commit0ca14470fc9fc6f8d8afd355daee590be9ea98b8 (patch)
tree225ff253fee022c9c4cc8e3f307e856d61f9f956 /llvm/lib/Support/SourceMgr.cpp
parente6afe2a85471ee0b2463428ee3fc0411e25237cc (diff)
downloadllvm-0ca14470fc9fc6f8d8afd355daee590be9ea98b8.zip
llvm-0ca14470fc9fc6f8d8afd355daee590be9ea98b8.tar.gz
llvm-0ca14470fc9fc6f8d8afd355daee590be9ea98b8.tar.bz2
[flang][OpenMP] Add optional argument to requirement clauses (#163557)
OpenMP 6.0 added an optional logical parameter to the requirement clauses (except ATOMIC_DEFAULT_MEM_ORDER) to indicate whether the clause should take effect or not. The parameter defaults to true if not specified. The parameter value is a compile-time constant expression, but it may require folding to get the final value. Since name resolution happens before folding, the argument expression needs to be analyzed by hand. The determination of the value needs to happen during name resolution because the requirement directives need to be available through module files (and the module reader doesn't to semantic checks beyond name resolution).
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions