Skip to content

Cleanup. Make API code more consistent. #6

Cleanup. Make API code more consistent.

Cleanup. Make API code more consistent. #6

Triggered via push July 22, 2024 01:01
Status Failure
Total duration 58s
Artifacts

cpp-linter.yaml

on: push
cpp-linter
50s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 10 warnings, and 7 notices
include/api/Api.hpp:10:10 [clang-diagnostic-error]: include/api/Api.hpp#L10
'oatpp/parser/json/mapping/ObjectMapper.hpp' file not found
include/api/_Api.hpp:4:10 [clang-diagnostic-error]: include/api/_Api.hpp#L4
'oatpp/core/macro/codegen.hpp' file not found
include/api/types.hpp:4:10 [clang-diagnostic-error]: include/api/types.hpp#L4
'oatpp/core/macro/codegen.hpp' file not found
cpp-linter
Process completed with exit code 1.
include/api/Api.hpp:30:56 [modernize-use-trailing-return-type]: include/api/Api.hpp#L30
use a trailing return type for this function
include/api/Api.hpp:31:51 [modernize-use-trailing-return-type]: include/api/Api.hpp#L31
use a trailing return type for this function
include/api/Api.hpp:32:49 [modernize-use-trailing-return-type]: include/api/Api.hpp#L32
use a trailing return type for this function
include/api/Api.hpp:35:41 [modernize-use-trailing-return-type]: include/api/Api.hpp#L35
use a trailing return type for this function
include/api/Api.hpp:36:40 [modernize-use-trailing-return-type]: include/api/Api.hpp#L36
use a trailing return type for this function
include/api/Api.hpp:37:42 [modernize-use-trailing-return-type]: include/api/Api.hpp#L37
use a trailing return type for this function
include/api/Api.hpp:38:41 [modernize-use-trailing-return-type]: include/api/Api.hpp#L38
use a trailing return type for this function
include/api/Api.hpp:39:41 [modernize-use-trailing-return-type]: include/api/Api.hpp#L39
use a trailing return type for this function
include/api/Api.hpp:40:50 [modernize-use-trailing-return-type]: include/api/Api.hpp#L40
use a trailing return type for this function
include/api/Api.hpp:41:41 [modernize-use-trailing-return-type]: include/api/Api.hpp#L41
use a trailing return type for this function
Run clang-format on include/api/Api.hpp: include/api/Api.hpp#L1
File include/api/Api.hpp does not conform to LLVM style guidelines. (lines 4, 12, 15, 16, 17, 18, 20, 21, 22, 23, 25, 26, 27, 29, 30, 31, 32, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 56, 57, 59, 60, 62, 63, 64, 65, 67, 68, 70, 71, 72, 73, 75, 76, 77, 79, 80, 81, 83, 84, 86, 87, 88, 91)
Run clang-format on include/api/_Api.hpp: include/api/_Api.hpp#L1
File include/api/_Api.hpp does not conform to LLVM style guidelines. (lines 8, 9, 10, 12, 13, 14, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 38, 39, 41, 42, 43, 44, 45, 47, 48, 49, 50, 51, 53, 54, 55, 56, 57, 59, 60, 62, 63, 64, 65, 66, 67, 69, 70, 71, 72, 73, 74, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 90, 91, 92, 93, 94, 96, 97, 98, 99, 100, 101, 103, 104, 105, 106, 107, 109, 110, 111, 112, 113, 114, 116, 117, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 132, 133, 134, 135, 136, 137, 139, 140, 141, 142, 143, 144, 146, 147, 148, 149, 150, 151, 153, 154, 155, 156, 157, 158, 160, 161, 162, 163, 164, 165, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 188, 192)
Run clang-format on include/api/types.hpp: include/api/types.hpp#L1
File include/api/types.hpp does not conform to LLVM style guidelines. (lines 4, 7, 8, 10, 11, 12, 13, 15, 17, 18, 19, 21, 23, 25, 26, 27, 29, 31, 32, 33, 35, 37, 38, 39, 41, 43, 45, 47, 48, 50, 51, 52, 54, 56, 57, 59, 61, 62, 63, 65, 67, 68, 70, 72, 73, 75, 76, 77, 79, 81, 82, 83, 84, 86, 88, 89, 90, 92, 94, 95, 97, 99, 100, 101, 103, 105, 106, 108, 110, 111, 112, 114, 116, 117, 118, 119, 120, 121, 122, 124, 126, 127, 128, 130, 132, 133, 135, 137, 138, 139, 141, 143, 145, 147, 148, 149, 151, 153, 155, 157, 158, 159, 161, 163, 164, 166, 168, 169, 171, 172, 173, 175, 177, 178, 179, 180, 181, 183, 185, 186, 187, 189, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 236, 238, 239, 240, 242, 244, 245, 246, 247, 248, 249, 250, 251, 252, 254, 256, 257, 258, 260, 262, 263, 265, 267, 268, 269, 271, 273, 275, 277, 278, 279, 281, 283, 285, 287, 288, 289, 291, 293, 294, 296, 298, 299, 300, 302, 304, 305, 306, 307, 308, 309, 310, 311, 313, 315, 316, 317, 319, 321, 322, 323, 324, 325, 326, 327, 329, 331, 332, 333, 335, 337, 338, 340, 342, 343, 344, 346, 348, 349, 350, 351, 352, 354, 356, 357, 358, 360, 362, 364, 366, 367, 368, 370, 372, 373, 375, 377, 378, 379, 381, 383, 385, 387, 388, 389, 391, 393, 395, 397, 398, 399, 401, 403, 404, 406, 408, 409, 410, 412, 414, 415, 416, 417, 418, 419, 420, 422, 424, 425, 426, 428, 430, 432, 434, 435, 436, 438, 440, 441, 442, 443, 444, 445, 447, 449, 450, 451, 453, 455, 456, 457, 458, 460, 462, 463, 464, 466, 468, 469, 470, 471, 473, 475, 476, 477, 479, 481, 482, 483, 484, 485, 486, 487, 489, 491, 492, 493, 495, 497, 498, 499, 501, 503, 504, 505, 507, 509, 510, 511, 513, 515, 516, 518, 519, 520, 522, 524, 525, 526, 528, 530, 531, 532, 534, 536, 537, 538, 539, 540, 541, 543, 545, 546, 547, 549, 551, 552, 553, 554, 555, 556, 557, 558, 559, 561, 563, 564, 565, 567, 569, 570, 572, 574, 575, 576, 578, 580, 581, 582, 583, 584, 585, 586, 588, 590, 591, 592, 594, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 625, 627, 628, 629, 631, 633, 634, 636, 638, 639, 640, 642, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 656, 658, 659, 660, 662, 664, 666, 668, 669, 670, 672, 674, 675, 677, 679, 680, 681, 683, 685, 686, 687, 688, 689, 690, 691, 692, 694, 696, 697, 698, 700, 702, 703, 705, 707, 708, 709, 711, 713, 714, 716, 718, 719, 720, 722, 724, 725, 726, 727, 728, 729, 731, 733, 734, 735, 737, 739, 740, 741, 742, 743, 744, 746, 748, 749, 750, 752, 754, 755, 756, 757, 758, 759, 760, 762, 764, 765, 766, 768, 770, 771, 772, 774, 776, 777, 778, 780, 782, 783, 785, 787, 788, 789, 791, 793, 794, 795, 796, 797, 798, 799, 800, 802, 804, 805, 806, 808, 810, 811, 813, 817)
Run clang-format on src/api/Api.auth.cpp: src/api/Api.auth.cpp#L1
File src/api/Api.auth.cpp does not conform to LLVM style guidelines. (lines 1, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 28, 29, 30, 32, 34, 35, 36, 38, 39, 40, 41, 42, 43, 44, 46, 47, 48, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 64, 65, 66, 68)
Run clang-format on src/api/Api.exchange.cpp: src/api/Api.exchange.cpp#L1
File src/api/Api.exchange.cpp does not conform to LLVM style guidelines. (lines 6, 7, 9, 10, 11, 13, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 27, 28, 29, 31, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 45, 46, 47, 49, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62)
Run clang-format on src/api/Api.market.cpp: src/api/Api.market.cpp#L1
File src/api/Api.market.cpp does not conform to LLVM style guidelines. (lines 6, 7, 9, 10, 11, 13, 15, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 29, 30, 31, 33, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 47, 48, 50, 51, 52, 54, 56, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 70, 71, 72, 74, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 88, 89, 91, 92, 93, 95, 97, 98, 99, 100, 101, 102, 103, 104, 105, 107, 108, 110, 111, 112, 114, 116, 118, 119, 120, 121, 122, 123, 124, 125, 126, 128, 129, 131, 132, 133, 135, 137, 138, 139, 140, 141, 142, 143, 144, 145, 147, 148, 150, 151, 152, 154, 156, 158, 159, 160, 161, 162, 163, 164, 165, 166, 168, 170)
Run clang-format on src/api/Api.portfolio.cpp: src/api/Api.portfolio.cpp#L1
File src/api/Api.portfolio.cpp does not conform to LLVM style guidelines. (lines 8, 9, 11, 12, 13, 15, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 29, 30, 31, 33, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 47, 48, 50, 51, 52, 54, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 68, 69, 71, 72, 73, 75, 77, 78, 79, 80, 81, 82, 83, 84, 85, 87, 88, 90, 91, 92, 94, 96, 97, 98, 99, 100, 101, 102, 103, 104, 106, 107, 109, 110, 111, 113, 115, 117, 118, 119, 120, 121, 122, 123, 124, 125, 127, 128, 130, 131, 132, 134, 136, 138, 139, 140, 141, 142, 143, 144, 145, 146, 148, 149, 151, 152, 153, 155, 157, 159, 160, 161, 163, 164, 166, 167, 168, 169, 171, 172, 173, 175, 176, 177, 178, 180, 181, 182, 183, 184, 185, 186, 188, 189, 191, 192, 193, 195, 197, 199, 200, 201, 202, 203, 204, 205, 206, 207, 209, 210, 212, 214, 215, 216, 218, 220, 221, 222, 223, 225, 226, 228, 229, 230, 232, 233, 234, 236, 237, 238, 239, 241, 242, 244, 245, 247, 249, 250, 251, 252, 254, 256)