Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`RULE-0-1-1`: Uninstantiated templates cause reports

Open
#1,160 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
cpp
Domain
devtools

Research direction

Start with the query implementation for RULE-0-1-1 and reproduce the C++ template example from the issue. Verify that the uninstantiated template no longer produces a report while instantiated templates continue to be checked.

Written by the indexing model from the issue text.

Description

Difficulty-Low false positive/false negative Impact-Medium Stardard-MISRA-C++
Affected rules
  • RULE-0-1-1
Description

We just need to exclude uninstantiated templates from the query.

Example
template <typename T>
int example_function() {
  int x = 0; // gets flagged in the uninstantiated template
  return x;
}
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.