<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/85243>85243</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
support AUTOSAR C++14 Rule A7-2-4 readability-enum-value
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-tidy,
check-request
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
HerrCai0907
</td>
</tr>
</table>
<pre>
In AUTOSAR C++14 Rule A7-2-4
> Rule A7-2-4 (required, implementation, automated)
> In an enumeration, either (1) none, (2) the first or (3) all enumerators shall be initialized.
This check want to detect explicit initialization of a part of enumerators in an enumeration, and relying on
compiler to initialize the others. It causes readability issues.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8UsFynDoQ_BpxmYKCAYrlwGG9flvPp1fl53yAELPLJEIi0uBk8_UpYZfXh1QuILVG3dOt0THy1RENqn1Q7WOmN5l9GP6lEE6ay77sstFPt-HJwfHLy3__H5_hpPBB4UPVwPNmCY5djnmjykdVHlX9z2cQFB4Cfd840KTwBLyslhZyooW9S4jexC9a0nF_p3hyoB2Q2xYKH6XEMlNIlJXCHpx3lGCFB0x7mQkuHKKA34vqBGprP2h8iBDnhIwE7FhYW_5FU_Guu39fZo5gZjLf4Id2AuJhIiEjQD9Xy4blfnXvDPwFNKw6SFp91uI_mdBugkD2xu4K3r1pGr-sbCkksXtfuyGfLMcCngSM3iJFCKQnPbJluQHHuFEssmmop77udUZD1VVlg316tnno6kPdVZVuzWFq6NJ1qLseW6wPTdeYqst4wBKbsq6aqsW27Ao9ld1YXlrTGzMhatWUtGi2hbWvS-HDNds1h0OLTZ1ZPZKN--QgGqvdNReebgpR4SlBKcc8DQBFSWj7mIUhUeXjdo2qKS1HiXdyYbE0xG1dfZC_z9vnIPIUcv6q7UbZFuwwi6xR1UeFZ4XnK8u8jYXxi8Jzknr_5WvwX8mIwvNbkArPu6_fAQAA___kJvwD">