[all-commits] [llvm/llvm-project] a66fd5: [Frontend][OpenMP] Sort all the things in OMP.td, NFC
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Thu Jun 6 11:14:53 PDT 2024
Branch: refs/heads/users/kparzysz/spr/b01-omptd-cleanup
Home: https://github.com/llvm/llvm-project
Commit: a66fd5d140ad991a440e846416b9f4f281d01354
https://github.com/llvm/llvm-project/commit/a66fd5d140ad991a440e846416b9f4f281d01354
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/OMP.td
Log Message:
-----------
[Frontend][OpenMP] Sort all the things in OMP.td, NFC
The file OMP.td is becoming tedious to update by hand due to the
seemingly random ordering of various items in it. This patch brings
order to it by sorting most of the contents.
The clause definitions are sorted alphabetically with respect to the
spelling of the clause.[1]
The directive definitions are split into two leaf directives and
compound directives.[2] Within each, definitions are sorted alphabetically
with respect to the spelling, with the exception that "end xyz"
directives are placed immediately following the definition of "xyz".[3]
Within each directive definition, the lists of clauses are also sorted
alphabetically.
[1] All spellings are made of lowercase letters, _, or space. Ordering
between non-letters follow the order assumed by `sort` utility.
[2] Compound directives refer to the consituent leaf directives, hence
the leaf definitions must come first.
[3] Some of the "end xyz" directives have properties derived from the
corresponding "xyz" directive. This exception guarantees that "xyz"
precedes the "end xyz".
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list