- Notifications
You must be signed in to change notification settings - Fork70
Package Declarations3#94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
9 commits Select commitHold shift + click to select a range
24a99a1 Declarations3: add import RULE-5-3
knewbury01d86b532 Declarations3: add missing testcase prev RULE-5-3
knewbury018ca4a3e Declarations3: add RULE-5-6
knewbury0170c6b4e Declarations3: add RULE-5-7 and fix testcase RULE-5-6
knewbury01c388bae Declarations3: fix format Identifiers lib
knewbury01311eb92 Declarations3: add RULE-5-5
knewbury0168304ab Declarations3: add shared RULE-8-1
knewbury01d9da42b Merge branch 'main' into knewbury01/Declarations3
knewbury01a6f54c4 Merge branch 'main' into knewbury01/Declarations3
mbaludaFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
2 changes: 1 addition & 1 deletionc/cert/src/rules/DCL31-C/DeclareIdentifiersBeforeUsingThem.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
18 changes: 6 additions & 12 deletionsc/cert/src/rules/DCL31-C/DeclareIdentifiersBeforeUsingThem.ql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletionc/cert/test/rules/DCL31-C/DeclareIdentifiersBeforeUsingThem.qlref
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
1 change: 1 addition & 0 deletionsc/cert/test/rules/DCL31-C/DeclareIdentifiersBeforeUsingThem.testref
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| c/common/test/rules/typeomitted/TypeOmitted.ql |
16 changes: 16 additions & 0 deletionsc/common/src/codingstandards/c/Identifiers.qll
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| import cpp | ||
| //Identifiers that are candidates for checking uniqueness | ||
| class InterestingIdentifiers extends Declaration { | ||
| InterestingIdentifiers() { | ||
| not this.isFromTemplateInstantiation(_) and | ||
| not this.isFromUninstantiatedTemplate(_) and | ||
| not this instanceof TemplateParameter and | ||
| not this.hasDeclaringType() and | ||
| not this instanceof Operator and | ||
| not this.hasName("main") and | ||
| exists(this.getADeclarationLocation()) | ||
| } | ||
| string getSignificantName() { result = this.getName().prefix(31) } | ||
| } |
5 changes: 5 additions & 0 deletionsc/common/test/rules/identifierhidden/IdentifierHidden.expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| | test.c:4:7:4:9 | id1 | Variable is hiding variable $@. | test.c:1:5:1:7 | id1 | id1 | | ||
| | test.c:7:13:7:15 | id1 | Variable is hiding variable $@. | test.c:1:5:1:7 | id1 | id1 | | ||
| | test.c:10:12:10:14 | id1 | Variable is hiding variable $@. | test.c:1:5:1:7 | id1 | id1 | | ||
| | test.c:11:14:11:16 | id1 | Variable is hiding variable $@. | test.c:10:12:10:14 | id1 | id1 | | ||
| | test.c:24:24:24:26 | id2 | Variable is hiding variable $@. | test.c:22:5:22:7 | id2 | id2 | |
2 changes: 2 additions & 0 deletionsc/common/test/rules/identifierhidden/IdentifierHidden.ql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| // GENERATED FILE - DO NOT MODIFY | ||
| import codingstandards.cpp.rules.identifierhidden.IdentifierHidden |
30 changes: 30 additions & 0 deletionsc/common/test/rules/identifierhidden/test.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| int id1; | ||
| void f1() { | ||
| int id1; // NON_COMPLIANT | ||
| } | ||
| void f2(int id1) {} // NON_COMPLIANT | ||
| void f3() { | ||
| for (int id1; id1 < 1; id1++) { // NON_COMPLIANT | ||
| for (int id1; id1 < 1; id1++) { | ||
| } // NON_COMPLIANT | ||
| } | ||
| } | ||
| struct astruct { | ||
| int id1; | ||
| }; | ||
| extern void g(struct astruct *p); | ||
| int id2 = 0; | ||
| void f4(struct astruct id2) { // NON_COMPLIANT | ||
| g(&id2); | ||
| } | ||
| void f5(struct astruct id3) { // COMPLIANT | ||
| g(&id2); | ||
| } |
File renamed without changes.
2 changes: 2 additions & 0 deletionsc/common/test/rules/typeomitted/TypeOmitted.ql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| // GENERATED FILE - DO NOT MODIFY | ||
| import codingstandards.cpp.rules.typeomitted.TypeOmitted |
10 changes: 10 additions & 0 deletionsc/cert/test/rules/DCL31-C/test.c → c/common/test/rules/typeomitted/test.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletionsc/misra/src/rules/RULE-5-3/IdentifierHidingC.ql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| /** | ||
| * @id c/misra/identifier-hiding-c | ||
| * @name RULE-5-3: An identifier declared in an inner scope shall not hide an identifier declared in an outer scope | ||
| * @description Use of an identifier declared in an inner scope with an identical name to an | ||
| * identifier in an outer scope can lead to inadvertent errors if the incorrect | ||
| * identifier is modified. | ||
| * @kind problem | ||
| * @precision very-high | ||
| * @problem.severity warning | ||
| * @tags external/misra/id/rule-5-3 | ||
| * readability | ||
| * maintainability | ||
| * external/misra/obligation/required | ||
| */ | ||
| import cpp | ||
| import codingstandards.c.misra | ||
| import codingstandards.cpp.rules.identifierhidden.IdentifierHidden | ||
| class IdentifierHidingCQuery extends IdentifierHiddenSharedQuery { | ||
| IdentifierHidingCQuery() { | ||
| this = Declarations3Package::identifierHidingCQuery() | ||
| } | ||
| } |
31 changes: 31 additions & 0 deletionsc/misra/src/rules/RULE-5-5/IdentifiersNotDistinctFromMacroNames.ql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| /** | ||
| * @id c/misra/identifiers-not-distinct-from-macro-names | ||
| * @name RULE-5-5: Identifiers shall be distinct from macro names | ||
| * @description Reusing a macro name compared to the name of any other identifier can cause | ||
| * confusion and make code harder to read. | ||
| * @kind problem | ||
| * @precision very-high | ||
| * @problem.severity error | ||
| * @tags external/misra/id/rule-5-5 | ||
| * readability | ||
| * maintainability | ||
| * external/misra/obligation/required | ||
| */ | ||
| import cpp | ||
| import codingstandards.c.misra | ||
| import codingstandards.c.Identifiers | ||
| from Macro m, InterestingIdentifiers i, string mName, string iName | ||
| where | ||
| not isExcluded(m, Declarations3Package::identifiersNotDistinctFromMacroNamesQuery()) and | ||
| not isExcluded(i, Declarations3Package::identifiersNotDistinctFromMacroNamesQuery()) and | ||
| mName = iName and | ||
| ( | ||
| //C99 states the first 31 characters of external identifiers are significant | ||
| //C90 states the first 6 characters of external identifiers are significant and case is not required to be significant | ||
| //C90 is not currently considered by this rule | ||
| if m.getName().length() > 31 then mName = m.getName().prefix(31) else mName = m.getName() | ||
| ) and | ||
| if i.getName().length() > 31 then iName = i.getSignificantName() else iName = i.getName() | ||
| select m, "Macro name is nonunique compared to $@.", i, i.getName() |
28 changes: 28 additions & 0 deletionsc/misra/src/rules/RULE-5-6/TypedefNameNotUnique.ql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| /** | ||
| * @id c/misra/typedef-name-not-unique | ||
| * @name RULE-5-6: A typedef name shall be a unique identifier | ||
| * @description Reusing a typedef name compared to the name of any other identifier can cause | ||
| * confusion and make code harder to read. | ||
| * @kind problem | ||
| * @precision very-high | ||
| * @problem.severity error | ||
| * @tags external/misra/id/rule-5-6 | ||
| * readability | ||
| * maintainability | ||
| * external/misra/obligation/required | ||
| */ | ||
| import cpp | ||
| import codingstandards.c.misra | ||
| import codingstandards.c.Identifiers | ||
| from TypedefType t, InterestingIdentifiers d | ||
| where | ||
| not isExcluded(t, Declarations3Package::typedefNameNotUniqueQuery()) and | ||
| not isExcluded(d, Declarations3Package::typedefNameNotUniqueQuery()) and | ||
| not t.getADeclarationLocation() = d.getADeclarationLocation() and | ||
| t.getName() = d.getName() and | ||
| //exception cases | ||
| not d.(Struct).getName() = t.getBaseType().toString() and | ||
| not d.(Enum).getName() = t.getBaseType().toString() | ||
| select t, "Typedef name is nonunique compared to $@.", d, d.getName() |
28 changes: 28 additions & 0 deletionsc/misra/src/rules/RULE-5-7/TagNameNotUnique.ql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| /** | ||
| * @id c/misra/tag-name-not-unique | ||
| * @name RULE-5-7: A tag name shall be a unique identifier | ||
| * @description Reusing a tag name compared to the name of any tag can cause confusion and make code | ||
| * harder to read. | ||
| * @kind problem | ||
| * @precision very-high | ||
| * @problem.severity error | ||
| * @tags external/misra/id/rule-5-7 | ||
| * readability | ||
| * maintainability | ||
| * external/misra/obligation/required | ||
| */ | ||
| import cpp | ||
| import codingstandards.c.misra | ||
| import codingstandards.c.Identifiers | ||
| from Struct s, InterestingIdentifiers s2 | ||
| where | ||
| not isExcluded(s, Declarations3Package::tagNameNotUniqueQuery()) and | ||
| not isExcluded(s2, Declarations3Package::tagNameNotUniqueQuery()) and | ||
| not s = s2 and | ||
| s.getName() = s2.getName() and | ||
| not s.getName() = "struct <unnamed>" and | ||
| not s.getName() = "union <unnamed>" and | ||
| not s.getName() = s2.(TypedefType).getBaseType().toString() | ||
| select s, "Tag name is nonunique compared to $@.", s2, s2.getName() |
20 changes: 20 additions & 0 deletionsc/misra/src/rules/RULE-8-1/ExplicitlyDeclareTypes.ql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| /** | ||
| * @id c/misra/explicitly-declare-types | ||
| * @name RULE-8-1: Declare identifiers before using them | ||
| * @description Omission of type specifiers may not be supported by some compilers. | ||
| * @kind problem | ||
| * @precision very-high | ||
| * @problem.severity error | ||
| * @tags external/misra/id/rule-8-1 | ||
| * correctness | ||
| * readability | ||
| * external/misra/obligation/required | ||
| */ | ||
| import cpp | ||
| import codingstandards.c.misra | ||
| import codingstandards.cpp.rules.typeomitted.TypeOmitted | ||
| class ExplicitlyDeclareTypesQuery extends TypeOmittedSharedQuery { | ||
| ExplicitlyDeclareTypesQuery() { this = Declarations3Package::explicitlyDeclareTypesQuery() } | ||
| } |
1 change: 1 addition & 0 deletionsc/misra/test/rules/RULE-5-3/IdentifierHidingC.testref
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| c/common/test/rules/identifierhidden/IdentifierHidden.ql |
2 changes: 2 additions & 0 deletionsc/misra/test/rules/RULE-5-5/IdentifiersNotDistinctFromMacroNames.expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| | test.c:1:1:1:23 | #define Sum(x,y) x + y | Macro name is nonunique compared to $@. | test.c:4:5:4:7 | Sum | Sum | | ||
| | test.c:6:1:6:42 | #define iltiqzxgfqsgigwfuyntzghvzltueeaZ ; | Macro name is nonunique compared to $@. | test.c:7:12:7:43 | iltiqzxgfqsgigwfuyntzghvzltueeaQ | iltiqzxgfqsgigwfuyntzghvzltueeaQ | |
1 change: 1 addition & 0 deletionsc/misra/test/rules/RULE-5-5/IdentifiersNotDistinctFromMacroNames.qlref
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| rules/RULE-5-5/IdentifiersNotDistinctFromMacroNames.ql |
7 changes: 7 additions & 0 deletionsc/misra/test/rules/RULE-5-5/test.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| #define Sum(x, y) x + y // NON_COMPLIANT | ||
| #undef Sum | ||
| int Sum; | ||
| #define iltiqzxgfqsgigwfuyntzghvzltueeaZ ; // NON_COMPLIANT - length 32 | ||
| static int iltiqzxgfqsgigwfuyntzghvzltueeaQ; // NON_COMPLIANT - length 32 |
2 changes: 2 additions & 0 deletionsc/misra/test/rules/RULE-5-6/TypedefNameNotUnique.expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| | test.c:11:15:11:19 | test1 | Typedef name is nonunique compared to $@. | test.c:13:17:13:21 | test1 | test1 | | ||
| | test.c:30:3:30:7 | chain | Typedef name is nonunique compared to $@. | test.c:26:10:26:14 | chain | chain | |
1 change: 1 addition & 0 deletionsc/misra/test/rules/RULE-5-6/TypedefNameNotUnique.qlref
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| rules/RULE-5-6/TypedefNameNotUnique.ql |
30 changes: 30 additions & 0 deletionsc/misra/test/rules/RULE-5-6/test.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| #include "test.h" | ||
| void f() { | ||
| { | ||
| typedef unsigned char test; // NON_COMPLIANT | ||
| } | ||
| { | ||
| typedef unsigned char test; // NON_COMPLIANT | ||
| } | ||
| } | ||
| typedef float test1; // NON_COMPLIANT | ||
| void f2() { int test1 = 0; } | ||
| typedef struct list { | ||
| int i; | ||
| } list; // COMPLIANT | ||
| typedef struct BIGList1 { | ||
| int i; | ||
| } list1; // COMPLIANT | ||
| typedef enum enum1 { testenum } enum1; // COMPLIANT | ||
| typedef struct { | ||
| struct chain { | ||
| int ii; | ||
| } s1; | ||
| int i; | ||
| } chain; // NON_COMPLIANT |
1 change: 1 addition & 0 deletionsc/misra/test/rules/RULE-5-6/test.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| typedef int headertest; // COMPLIANT |
1 change: 1 addition & 0 deletionsc/misra/test/rules/RULE-5-6/test1.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #include "test.h" |
4 changes: 4 additions & 0 deletionsc/misra/test/rules/RULE-5-7/TagNameNotUnique.expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| | test.c:5:8:5:9 | s1 | Tag name is nonunique compared to $@. | test.c:12:10:12:11 | s1 | s1 | | ||
| | test.c:5:8:5:9 | s1 | Tag name is nonunique compared to $@. | test.c:17:17:17:18 | s1 | s1 | | ||
| | test.c:12:10:12:11 | s1 | Tag name is nonunique compared to $@. | test.c:5:8:5:9 | s1 | s1 | | ||
| | test.c:12:10:12:11 | s1 | Tag name is nonunique compared to $@. | test.c:17:17:17:18 | s1 | s1 | |
1 change: 1 addition & 0 deletionsc/misra/test/rules/RULE-5-7/TagNameNotUnique.qlref
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| rules/RULE-5-7/TagNameNotUnique.ql |
33 changes: 33 additions & 0 deletionsc/misra/test/rules/RULE-5-7/test.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| typedef struct s { | ||
| int i; | ||
| } s; // COMPLIANT | ||
| struct s1 { // NON_COMPLIANT | ||
| int i; | ||
| }; | ||
| struct s1 a1 = {0}; // COMPLIANT | ||
| void f() { | ||
| struct s1 { // NON_COMPLIANT | ||
| int i; | ||
| }; | ||
| } | ||
| void f1() { int s1 = 0; } | ||
| typedef struct { | ||
| int i; | ||
| } sunnamed; // COMPLIANT | ||
| typedef struct { | ||
| int i; | ||
| } sunnamed2; // COMPLIANT | ||
| typedef union { | ||
| int i; | ||
| } U; // COMPLIANT | ||
| typedef union { | ||
| int i; | ||
| }; // COMPLIANT |
1 change: 1 addition & 0 deletionsc/misra/test/rules/RULE-8-1/ExplicitlyDeclareTypes.testref
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| c/common/test/rules/typeomitted/TypeOmitted.ql |
11 changes: 4 additions & 7 deletionscpp/autosar/src/rules/A2-10-1/IdentifierHiding.ql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletioncpp/autosar/test/rules/A2-10-1/IdentifierHiding.qlref
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
1 change: 1 addition & 0 deletionscpp/autosar/test/rules/A2-10-1/IdentifierHiding.testref
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| cpp/common/test/rules/identifierhidden/IdentifierHidden.ql |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.