Download User's Guide
Transcript
StructKeyword.rule
Items Enforced
StructKeyword.rule
Do not use the ‘struct’ keyword to
declare a variable in C++
This rule checks whether your C++ code uses struct keywords to
declare a variable.
Reason for rule: Using the struct keyword to declare a variable
improves code readability.
Example
// struct keyword is unnecessary in C++ when declaring a
// variable.
struct Position_t {}
struct Position_t Pos1;
// Violation
Position_t Pos2;
// OK
325
Related documents
User's Guide
User's Guide
RuleWizard User's Guide
Getting Started with the CodeVisionAVR Extension for Atmel Studio
CodeVisionAVR revision history
Pulse Width Modulation
INFINITI - NISSAN - Advanced Diagnostics USA
Załącznik nr 6 do ZW 15/2007
infiniti - nissan - adusa - Advanced Diagnostics USA
LOGGER ver.4.1. - USER MANUAL