From bb8c33dc62742f7fc9f25ac91582fc4fa4ac3d5d Mon Sep 17 00:00:00 2001 From: zjc_he Date: Sun, 5 May 2024 21:35:49 +0800 Subject: [PATCH] fix(examples/clang-tidy/sillycode): Update config files --- conf.toml | 2 +- expected.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.toml b/conf.toml index a673bca..df57b47 100644 --- a/conf.toml +++ b/conf.toml @@ -59,4 +59,4 @@ keyword = ["readability-identifier-length","misc-use-anonymous-namespace"] score = 2 [[stages.parser.with.matches]] keyword = ["llvmlibc-implementation-in-namespace"] -score = 0 +score = 1 diff --git a/expected.json b/expected.json index 0bbf021..cf5d80a 100644 --- a/expected.json +++ b/expected.json @@ -1 +1 @@ -[{"name":"prepare","results":[{"score":0,"comment":"Failed to parse result: invalid character '-' in numeric literal"}]},{"name":"clang-tidy","results":[{"score":-202,"comment":""}]}] +[{"name":"prepare","results":[{"score":0,"comment":"Failed to parse result: invalid character '-' in numeric literal"}]},{"name":"clang-tidy","results":[{"score":-180,"comment":"```\n### Test results summary\n\n1. codequality-unchecked-malloc-result: 0\n2. codequality-no-global-variables: 0\n3. codequality-no-header-guard: 0\n4. codequality-no-fflush-stdin: 0\n5. readability-function-size: 0\n6. readability-identifier-naming: 0\n7. readability-redundant: 0\n8. readability-misleading-indentation: 0\n9. readability-misplaced-array-index: 0\n10. cppcoreguidelines-init-variables: 1\n11. bugprone-suspicious-string-compare: 0\n12. google-global-names-in-headers: 0\n13. clang-diagnostic: 1\n14. clang-analyzer: 0\n15. misc: 8\n16. performance: 4\n17. others: 187\n```"}]}]