[flang-commits] [flang] [llvm] [flang] Implement IGNORE_TKR(P) (PR #165469)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Tue Oct 28 15:15:37 PDT 2025
================
@@ -12,16 +12,18 @@ A list of non-standard directives supported by Flang
* `!dir$ fixed` and `!dir$ free` select Fortran source forms. Their effect
persists to the end of the current source file.
-* `!dir$ ignore_tkr [[(TKRDMAC)] dummy-arg-name]...` in an interface definition
+* `!dir$ ignore_tkr [[(TKRDMACP)] dummy-arg-name]...` in an interface definition
disables some semantic checks at call sites for the actual arguments that
- correspond to some named dummy arguments (or all of them, by default).
- The directive allow actual arguments that would otherwise be diagnosed
- as incompatible in type (T), kind (K), rank (R), CUDA device (D), or
- managed (M) status. The letter (A) is a shorthand for all of these,
- and is the default when no letters appear. The letter (C) checks for
- contiguity for example allowing an element of an assumed-shape array to be
- passed as a dummy argument. For example, if one wanted to call a "set all
- bytes to zero" utility that could be applied to arrays of any type or rank:
+ correspond to some named dummy arguments (or all of them, by default). The
+ directive allow actual arguments that would otherwise be diagnosed as
+ incompatible in type (T), kind (K), rank (R), CUDA device (D), or managed (M)
+ status. The letter (A) is a shorthand for (TKRDM), and is the default when no
+ letters appear. The letter (C) checks for contiguity for example allowing an
----------------
klausler wrote:
I know that it's in part of the existing text, but can you please add a comma after "checks for contiguity"?
"vice-versa" should be "vice versa".
https://github.com/llvm/llvm-project/pull/165469
More information about the flang-commits
mailing list