[clang] [OpenACC] Implement better dupe catching for device_type clauses (PR #138196)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri May 2 06:50:14 PDT 2025


================
@@ -12990,6 +12990,13 @@ def err_acc_duplicate_clause_disallowed
     : Error<"OpenACC '%1' clause cannot appear more than once on a '%0' "
             "directive">;
 def note_acc_previous_clause_here : Note<"previous clause is here">;
+// TODO(OpenACC): Combine these with the one above, and decide between a
----------------
erichkeane wrote:

I'll fix this as NFC when this gets merged, but the size of this review would explode if I were to do it now.

https://github.com/llvm/llvm-project/pull/138196


More information about the cfe-commits mailing list