Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

preserve order when auto-squashing typedefs

オープン
#8 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cpp, csharp, fsharp
領域
compilers

調査の方向性

まず、auto-squashing の実装と、解析された ICppDeclaration の子要素を公開するトラバーサルを見つけ、typedef と宣言を含む C ヘッダーで順序の問題を再現します。完了条件は、auto-squashing を有効なままにしつつ、子要素を反復処理したときに、報告された F# のユースケースに対してヘッダーの宣言順序が維持されることです。

索引モデルが issue の本文から書いたものです。

説明

I'm using F# where the order of declaring functions, structs, etc somewhat matters. If I can, I'd like to preserve that order (coming from a C header). the auto-squashing type defs would be nice, but when I iterate through the parsed children ICppDeclaration s they are thrown in after all the squashed classes, causing the order to break.
Would this be an easy fix, or should I just turn off auto-squashing and parse the typedefs?

by the way, thanks for making this! it's saving me a lot of time.

主要言語
C#
スター
625
フォーク
79
平均マージ
2日 2時間
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

xoofx/CppAst.NET のほかの issue

xoofx/CppAst.NET の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。