Skip to content

Commit cdde1f3

Browse files
committed
A8-4-7 address review comments
1 parent 34ae3bd commit cdde1f3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
`A8-4-7`: ` cpp/autosar/in-parameters-for-cheap-to-copy-types-not-passed-by-value`
2-
- Fixes #397. Exclude user defined operators and move constructors.
1+
`A8-4-7`: `InParametersForCheapToCopyTypesNotPassedByValue.ql`
2+
- Fixes #397. Exclude user defined operators and move constructors.`

cpp/autosar/src/rules/A8-4-7/InParametersForCheapToCopyTypesNotPassedByValue.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ where
3939
not exists(Operator op | op.getAParameter() = v) and
4040
not v.isFromUninstantiatedTemplate(_)
4141
select v,
42-
"Parameter " + v.getName() + " is the trivially copyable type " + t.getName() +
43-
" but it is passed by reference instead of by value."
42+
"Parameter '" + v.getName() + "' is the trivially copyable type '" + t.getName() +
43+
"' but it is passed by reference instead of by value."

0 commit comments

Comments
 (0)