[all-commits] [llvm/llvm-project] 9e068c: [OpenACC} Improve diagnostics for 'tag's on clause...
Erich Keane via All-commits
all-commits at lists.llvm.org
Tue Jan 16 06:32:21 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9e068cd78491d371f30fa2c5eeed98585adbef80
https://github.com/llvm/llvm-project/commit/9e068cd78491d371f30fa2c5eeed98585adbef80
Author: Erich Keane <ekeane at nvidia.com>
Date: 2024-01-16 (Tue, 16 Jan 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Basic/OpenACCKinds.h
M clang/lib/Parse/ParseOpenACC.cpp
M clang/test/ParserOpenACC/parse-cache-construct.c
Log Message:
-----------
[OpenACC} Improve diagnostics for 'tag's on clauses/directives (#77957)
The 'cache' directive and various clauses have a 'tag' name that is
optional. This patch cleans up the use of the 'cache' version so that we
get a nicer diagnostic, and enables us to do the same with clauses in
the same situation.
More information about the All-commits
mailing list