mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-04-09 19:08:39 +02:00
Summary: Ref T2039. Make the `ArcanistCppcheckLinter` compatible with `.arclint`. Test Plan: Wrote and executed unit tests. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Maniphest Tasks: T2039 Differential Revision: https://secure.phabricator.com/D9068
7 lines
145 B
Text
7 lines
145 B
Text
void f() {
|
|
char arr[5];
|
|
// cppcheck-suppress arrayIndexOutOfBounds
|
|
// cppcheck-suppress unreadVariable
|
|
arr[10] = 0;
|
|
}
|
|
~~~~~~~~~~
|