Enable linting step #15
Annotations
2 errors, 10 warnings, and 1 notice
src/data_source.cpp:1:10 [clang-diagnostic-error]:
src/data_source.cpp#L1
'qfile.h' file not found
|
clang-tidy
Process completed with exit code 1.
|
src/data_source.cpp:8:1 [cppcoreguidelines-pro-type-member-init]:
src/data_source.cpp#L8
constructor does not initialize these fields: , label
|
src/data_source.cpp:25:27 [modernize-use-trailing-return-type]:
src/data_source.cpp#L25
use a trailing return type for this function
|
src/data_source.cpp:27:19 [cppcoreguidelines-init-variables]:
src/data_source.cpp#L27
variable 'colors' is not initialized
|
src/data_source.cpp:45:20 [modernize-use-trailing-return-type]:
src/data_source.cpp#L45
use a trailing return type for this function
|
src/data_source.cpp:58:12 [cppcoreguidelines-init-variables]:
src/data_source.cpp#L58
variable 'color' is not initialized
|
src/data_source.cpp:71:25 [modernize-use-trailing-return-type]:
src/data_source.cpp#L71
use a trailing return type for this function
|
src/data_source.cpp:73:17 [cppcoreguidelines-init-variables]:
src/data_source.cpp#L73
variable 'labels' is not initialized
|
src/data_source.cpp:75:20 [cppcoreguidelines-init-variables]:
src/data_source.cpp#L75
variable 'patterns' is not initialized
|
src/data_source.cpp:129:18 [modernize-use-trailing-return-type]:
src/data_source.cpp#L129
use a trailing return type for this function
|
src/data_source.cpp:129:18 [readability-convert-member-functions-to-static]:
src/data_source.cpp#L129
method 'addSeries' can be made static
|
Run clang-format on src/data_source.cpp:
src/data_source.cpp#L1
File src/data_source.cpp does not conform to LLVM style guidelines. (lines 1, 5, 8, 9, 10, 12, 15, 16, 17, 18, 25, 26, 27, 29, 30, 31, 32, 33, 34, 35, 38, 45, 46, 47, 49, 50, 51, 52, 54, 56, 58, 60, 63, 67, 68, 71, 72, 73, 75, 77, 78, 79, 80, 81, 82, 84, 85, 86, 87, 89, 90, 92, 93, 94, 95, 96, 97, 99, 101, 102, 104, 105, 106, 107, 108, 109, 110, 111, 113, 114, 115, 116, 117, 120, 124, 129, 130, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 142, 143, 144, 146, 148, 149, 150, 151, 153, 156, 159, 160, 162, 165, 166, 167, 168, 169, 170, 171, 173, 176, 184, 185, 186, 188, 189, 190, 191, 193, 195, 198, 199, 200, 201, 202, 203, 204, 206, 207, 208, 209, 211, 212, 213, 215, 217, 225, 226, 227, 228, 229, 230, 232, 234, 237, 238, 239, 240, 241, 243, 244, 245, 246, 248, 249, 250, 251, 252, 254, 257, 258, 259, 261, 262, 263, 265, 271, 272, 273, 275, 276, 277, 278, 279, 280, 281, 284, 287, 288, 289, 292, 293, 294, 298, 302, 303, 304, 306, 308, 310, 311, 312, 313, 315, 316, 317, 318, 319, 321, 324, 330, 331, 332, 333, 334, 335, 336, 338, 339, 341, 342, 343, 344, 345, 346, 348, 349, 351, 354, 358, 362, 363, 364, 366, 368, 369, 370, 371, 373, 374, 375, 376, 378, 379, 380, 381, 383, 384, 385, 387, 388, 389, 390, 391, 392, 393, 394, 396, 399, 400, 401, 403, 404, 405, 406, 407, 408, 409, 411, 417, 418, 419, 420, 422, 423, 425, 426, 427, 429, 430, 432, 434, 435, 436, 437, 439, 441, 442, 443, 446, 449, 450, 451, 453, 457, 460, 461, 463, 466, 467, 468, 469, 472, 473, 474, 476, 479, 482, 483, 484, 486, 487, 488, 490, 491, 494, 497, 498, 499, 502, 505, 506, 507, 508, 509, 511, 512, 513, 514, 515, 518, 521, 522, 523, 525, 526, 527, 528, 529, 531, 532, 533, 535, 537, 539, 542, 548, 550, 551, 552, 553, 554, 555, 557, 559, 563, 567, 568, 569, 570, 571, 573, 574, 575, 576, 577, 578, 579, 582, 586, 589, 591, 592, 593, 594, 595, 597, 598, 599, 600, 602, 603, 606, 610, 613, 615, 616, 617, 618, 619, 621, 622, 623, 624, 625, 628, 632, 635, 636, 637, 638, 639, 640, 642, 643, 644)
|