summaryrefslogtreecommitdiffstats
path: root/typings
diff options
context:
space:
mode:
authorSam Estep <sam@samestep.com>2025-08-18 11:10:27 -0400
committerGitHub <noreply@github.com>2025-08-18 15:10:27 +0000
commit09054bff3d0874a92958b514ae2a9ff2b32483e5 (patch)
tree0a7f8684da2a749139e58d4af4dfef9c2c56d0e7 /typings
parent2f68f98a3d7d41c1daac07afab622c34f5c1b8d4 (diff)
Don't let clang-format reorder Fiddle `#include`s (#7887)
The documentation added by #6844 included instructions to make sure that the Fiddle `#include` in a file comes after all the other `#include`s, but it's easy to accidentally violate this via `clang-format`, as happened for `source/slang/slang-ast-modifier.h` in #7559. This PR guards against this sort of violation by separating all Fiddle `#include`s from other `#include`s via a blank line followed by a `//` line (as we already do in most cases), and also adds a sentence about this in `tools/slang-fiddle/README.md`. As a bonus, I also enabled Markdown syntax highlighting for all the code blocks in that doc file. Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
Diffstat (limited to 'typings')
0 files changed, 0 insertions, 0 deletions