mirror of
https://github.com/QuantumLeaps/qpc.git
synced 2025-01-21 06:53:11 +08:00
66 lines
3.1 KiB
Plaintext
66 lines
3.1 KiB
Plaintext
//////////////////////////////////////////////////////////////////////////////
|
|
// Product: Application lint file
|
|
// Last Updated for Version: 4.0.01
|
|
// Date of the Last Update: Now 10, 2008
|
|
//
|
|
// Q u a n t u m L e a P s
|
|
// ---------------------------
|
|
// innovating embedded systems
|
|
//
|
|
// Copyright (C) 2002-2008 Quantum Leaps, LLC. All rights reserved.
|
|
//
|
|
// This software may be distributed and modified under the terms of the GNU
|
|
// General Public License version 2 (GPL) as published by the Free Software
|
|
// Foundation and appearing in the file GPL.TXT included in the packaging of
|
|
// this file. Please note that GPL Section 2[b] requires that all works based
|
|
// on this software must also be made publicly available under the terms of
|
|
// the GPL ("Copyleft").
|
|
//
|
|
// Alternatively, this software may be distributed and modified under the
|
|
// terms of Quantum Leaps commercial licenses, which expressly supersede
|
|
// the GPL and are specifically designed for licensees interested in
|
|
// retaining the proprietary status of their code.
|
|
//
|
|
// Contact information:
|
|
// Quantum Leaps Web site: http://www.quantum-leaps.com
|
|
// e-mail: info@quantum-leaps.com
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
// Assertions
|
|
-emacro(970, Q_DEFINE_THIS_FILE) // MISRA rule 13
|
|
-emacro(971, Q_DEFINE_THIS_FILE) // MISRA rule 14
|
|
-emacro(970, Q_DEFINE_THIS_MODULE) // MISRA rule 13
|
|
-emacro(971, Q_DEFINE_THIS_MODULE) // MISRA rule 14
|
|
-emacro(960, Q_ASSERT) // MISRA rule 59
|
|
|
|
// QEP
|
|
|
|
// QF
|
|
-emacro(717, QF_INT_LOCK) // do ... while(0)
|
|
-emacro(717, QF_INT_UNLOCK) // do ... while(0)
|
|
-emacro(717, QPSet64_insert) // do ... while(0)
|
|
-emacro(717, QPSet64_remove) // do ... while(0)
|
|
-emacro(717, QPSet64_findMax) // do ... while(0)
|
|
|
|
// QS
|
|
-emacro(506, QS_BEGIN) // Constant value Boolean [MISRA Rule 52]
|
|
-emacro(774, QS_BEGIN) // Boolean within 'if' always evaluates to False
|
|
-emacro(572, QS_BEGIN) // MISRA Rule 38, excessive shift value
|
|
-emacro(778, QS_BEGIN) // Constant expression evaluates to 0
|
|
-emacro(912, QS_BEGIN) // Implicit binary conversion from int to unsigned int
|
|
-emacro(506, QS_BEGIN_NOLOCK) // Constant value Boolean [MISRA Rule 52]
|
|
-emacro(774, QS_BEGIN_NOLOCK) // Boolean within 'if' always False
|
|
-emacro(572, QS_BEGIN_NOLOCK) // MISRA Rule 38, excessive shift value
|
|
-emacro(778, QS_BEGIN_NOLOCK) // Constant expression evaluates to 0
|
|
-emacro(912, QS_BEGIN_NOLOCK) // Implicit conversion from int to unsigned int
|
|
-emacro(960, QS_END) // MISRA Rule 59, left brace expected
|
|
-emacro(725, QS_END) // Expected positive indentation
|
|
-emacro(960, QS_END_NOLOCK) // MISRA Rule 59, left brace expected
|
|
-emacro(725, QS_END_NOLOCK) // Expected positive indentation
|
|
-emacro(923, QS_OBJ) // MISRA Rule 45, cast from pointer to unsigned long
|
|
-emacro(923, QS_FUN) // MISRA Rule 45, cast from pointer to unsigned long
|
|
|
|
// Miscallaneous
|
|
-e546 // Suspicious use of &
|