A5-1-1
: Exclude literals generated for template instantiations
#371
Labels
Difficulty-Medium
A false positive or false negative report which is expected to take 1-5 days effort to address
false positive/false negative
An issue related to observed false positives or false negatives.
Impact-Medium
user-report
Issue reported by an end user of CodeQL Coding Standards
Affected rules
A5-1-1
Description
Template instantiations with literal arguments can cause the creation of generated
Literal
s in the program in two ways:constexpr
, we may generate aLiteral
expression to represent the compiler-calculated value.Literal
at that location to hold the value of the compiler-calculated value.Example
The text was updated successfully, but these errors were encountered: