]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/langhooks.h
[OpenMP] Fix mapping of artificial variables (PR94874)
[thirdparty/gcc.git] / gcc / langhooks.h
index 83069a9cf7fddfffd537cabc0fe28498317d4fab..2bd5a67cd3703ecc4affa9cd9fcdc2cc622a3315 100644 (file)
@@ -252,6 +252,10 @@ struct lang_hooks_for_decls
      predetermined, OMP_CLAUSE_DEFAULT_UNSPECIFIED otherwise.  */
   enum omp_clause_default_kind (*omp_predetermined_sharing) (tree);
 
+  /* Return mapping kind if OpenMP mapping attribute of DECL is
+     predetermined, OMP_CLAUSE_DEFAULTMAP_CATEGORY_UNSPECIFIED otherwise.  */
+  enum omp_clause_defaultmap_kind (*omp_predetermined_mapping) (tree);
+
   /* Return decl that should be reported for DEFAULT(NONE) failure
      diagnostics.  Usually the DECL passed in.  */
   tree (*omp_report_decl) (tree);