зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1471285 - [Clang-Tidy 5.0.1] Checker misc-suspicious-missing-comma has faulty test case. r=janx
MozReview-Commit-ID: 2COIi47WQBO --HG-- extra : rebase_source : 4ea6e4cb26cad89a94f8453ca811daa895588bbf
This commit is contained in:
Родитель
a1f3223838
Коммит
b61fe0d579
|
@ -1,9 +1,9 @@
|
||||||
|
const char* Cartoons[] = {
|
||||||
// misc-suspicious-missing-comma
|
"Bugs Bunny",
|
||||||
const char* software[] = {
|
"Homer Simpson",
|
||||||
"Firefox",
|
"Mickey Mouse",
|
||||||
"Rust" // There is a missing comma here.
|
"Bart Simpson",
|
||||||
"Thunderbird",
|
"Charlie Brown" // There is a missing comma here.
|
||||||
"kinto"
|
"Fred Flintstone",
|
||||||
|
"Popeye",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
"[]"
|
"[[\"warning\", \"suspicious string literal, probably missing a comma\", \"misc-suspicious-missing-comma\"]]"
|
Загрузка…
Ссылка в новой задаче