`A8-2-1`: query not implemented

Open
#162 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
devtools

Research direction

Begin with the repository's CodeQL queries and libraries and locate the missing implementation for affected rule A8-2-1. Read the rule description carefully, then identify how existing queries for related C++ function-template rules are structured. Done means the query detects violations of the trailing-return-type requirement when the return type depends on parameter types.

Written by the indexing model from the issue text.

Description

Difficulty-High Impact-Medium Standard-AUTOSAR
Affected rules

A8-2-1

Description

A8-2-1 - “When declaring function templates, the trailing return type syntax shall be used if the return type depends on the type of parameters.”

Dominant language
CodeQL
Stars
227
Forks
82
Avg merge
6d 7h
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/codeql-coding-standards

All issues in github/codeql-coding-standards

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.