Misra: Exception for rule 11.3

This commit is contained in:
Daniel Marjamäki 2017-04-16 12:17:42 +02:00
parent 85a6e9ce59
commit 52985da13b
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ def misra_11_3(data):
vt2 = token.astOperand1.valueType
if not vt1 or not vt2:
continue
if vt1.pointer==vt2.pointer and vt1.pointer>0 and vt1.type != vt2.type and vt1.isIntegral() and vt2.isIntegral():
if vt1.pointer==vt2.pointer and vt1.pointer>0 and vt1.type != vt2.type and vt1.isIntegral() and vt2.isIntegral() and vt1.type != 'char':
reportError(token, 11, 3)
def misra_11_4(data):