File tree Expand file tree Collapse file tree 2 files changed +2
-22
lines changed
cpp/misra/src/rules/RULE-19-2-1 Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Original file line number Diff line number Diff line change 22 * @id cpp/misra/no-valid-ifdef-guard-in-header
33 * @name RULE-19-2-1: Precautions shall be taken in order to prevent the contents of a header file being included more
44 * @description Precautions shall be taken in order to prevent the contents of a header file being
5- * included more than once
5+ * included more than once.
66 * @kind problem
77 * @precision very-high
88 * @problem.severity error
Original file line number Diff line number Diff line change 6464 },
6565 "queries" : [
6666 {
67- "description" : " Precautions shall be taken in order to prevent the contents of a header file being included more than once" ,
67+ "description" : " Precautions shall be taken in order to prevent the contents of a header file being included more than once. " ,
6868 "kind" : " problem" ,
6969 "name" : " Precautions shall be taken in order to prevent the contents of a header file being included more" ,
7070 "precision" : " very-high" ,
7878 }
7979 ],
8080 "title" : " Precautions shall be taken in order to prevent the contents of a header file being included more than once"
81- },
82- "RULE-19-2-2" : {
83- "properties" : {
84- "enforcement" : " decidable" ,
85- "obligation" : " required"
86- },
87- "queries" : [
88- {
89- "description" : " " ,
90- "kind" : " problem" ,
91- "name" : " The #include directive shall be followed by either a <filename> or \" filename\" sequence" ,
92- "precision" : " very-high" ,
93- "severity" : " error" ,
94- "short_name" : " IncludeDirectiveNotFollowedByEitherAFilenameOrFilenameSequence" ,
95- "tags" : [
96- " scope/single-translation-unit"
97- ]
98- }
99- ],
100- "title" : " The #include directive shall be followed by either a <filename> or \" filename\" sequence"
10181 }
10282 }
10383}
You can’t perform that action at this time.
0 commit comments