[all-commits] [llvm/llvm-project] ba1c86: [OpenACC] Implement 'routine' construct parsing (#...
Erich Keane via All-commits
all-commits at lists.llvm.org
Mon Nov 27 06:49:43 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ba1c869f0026923e0db80ffbd94d02e4718cc1f1
https://github.com/llvm/llvm-project/commit/ba1c869f0026923e0db80ffbd94d02e4718cc1f1
Author: Erich Keane <ekeane at nvidia.com>
Date: 2023-11-27 (Mon, 27 Nov 2023)
Changed paths:
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Basic/OpenACCKinds.h
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseOpenACC.cpp
M clang/test/ParserOpenACC/parse-constructs.c
A clang/test/ParserOpenACC/parse-constructs.cpp
Log Message:
-----------
[OpenACC] Implement 'routine' construct parsing (#73143)
The 'routine' construct applies either to a function directly, or, when
provided a name, applies to the function named (and is visible in the
current scope). This patch implements the parsing for this. The
identifier provided (or Id Expression) is required to be a valid,
declared identifier, though the semantic analysis portion of the Routine
directive will need to enforce it being a function/overload set.
More information about the All-commits
mailing list