File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
codingstandards/cpp/misra Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * A library for utility classes related to the built-in type rules in MISRA C++ 2023 (Section 4.7.0).
3+ */
4+
15import cpp
26import codingstandards.cpp.misra
37import codingstandards.cpp.Type
@@ -54,7 +58,7 @@ TypeCategory getTypeCategory(BuiltInType t) {
5458}
5559
5660/**
57- * The signedness of a MISRA C++ 2023 numeric type
61+ * The signedness of a MISRA C++ 2023 numeric type.
5862 */
5963newtype Signedness =
6064 Signed ( ) or
Original file line number Diff line number Diff line change 1616import cpp
1717import codingstandards.cpp.misra
1818import codingstandards.cpp.ConstantExpressions
19- import codingstandards.cpp.misra.StandardConversions
19+ import codingstandards.cpp.misra.BuiltInTypeRules
2020import semmle.code.cpp.rangeanalysis.SimpleRangeAnalysis
2121
2222predicate isValidConstantAssignment ( IntegerConstantExpr source , NumericType targetType ) {
You can’t perform that action at this time.
0 commit comments