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

`A3-9-1`: Incorrectly alerts on template functions instantiated with fix-width integers

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

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

評価

この issue はまだ評価されていません。

説明

Difficulty-Low false positive/false negative Impact-Medium Standard-AUTOSAR user-report
Affected rules
  • cpp/autosar/variable-width-integer-types-used
Description

Template instantiations store the template argument after type definitions have been resolved.
This results in argument types with variable width integer types even though the template is instantiated with fixed-width integers.

Additionally, we want to change the location of the alerts in case of template instantiations to the location where the template is instantiated because that is where the rule violation happens.

Example
template <typename T>
void foo(T value) { ... }
}
主要言語
CodeQL
スター
227
フォーク
82
平均マージ
6日 7時間
マージ済み PR(30日)
9

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

github/codeql-coding-standards のほかの issue

github/codeql-coding-standards の issue をすべて見る

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

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