324324 < ul class ="md-nav__list " data-md-component ="toc " data-md-scrollfix >
325325
326326 < li class ="md-nav__item ">
327- < a href ="#everything-you-need-for-cc-code-quality " class ="md-nav__link ">
327+ < a href ="#everything-you-need-for-linting- cc-code " class ="md-nav__link ">
328328 < span class ="md-ellipsis ">
329- Everything you need for C/C++ code quality
329+ Everything you need for linting C/C++ code
330330 </ span >
331331 </ a >
332332
333- </ li >
334-
335- < li class ="md-nav__item ">
336- < a href ="#clang-tools-made-simple " class ="md-nav__link ">
337- < span class ="md-ellipsis ">
338- Clang Tools Made Simple
339- </ span >
340- </ a >
341-
342- < nav class ="md-nav " aria-label ="Clang Tools Made Simple ">
343- < ul class ="md-nav__list ">
344-
345- < li class ="md-nav__item ">
346- < a href ="#pip " class ="md-nav__link ">
347- < span class ="md-ellipsis ">
348- pip
349- </ span >
350- </ a >
351-
352- </ li >
353-
354- < li class ="md-nav__item ">
355- < a href ="#docker " class ="md-nav__link ">
356- < span class ="md-ellipsis ">
357- Docker
358- </ span >
359- </ a >
360-
361- </ li >
362-
363- < li class ="md-nav__item ">
364- < a href ="#python-wheels " class ="md-nav__link ">
365- < span class ="md-ellipsis ">
366- Python Wheels
367- </ span >
368- </ a >
369-
370- </ li >
371-
372- </ ul >
373- </ nav >
374-
375333</ li >
376334
377335 < li class ="md-nav__item ">
464422
465423< div class ="hero ">
466424< h1 id ="cc-linting-that-simply-works "> C/C++ linting that simply works</ h1 >
467- < p > < strong > Professional static analysis for C/C++ code – automated, configurable, and fast. Integrate seamlessly into any workflow in minutes.</ strong > </ p >
425+ < p > < strong > Lint your C/C++ code in workflow – automated, configurable, and fast. Integrate seamlessly into any workflow in minutes.</ strong > </ p >
468426< p > < a class ="md-button md-button--primary " href ="getting-started/ "> Get started < span class ="twemoji "> < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 "> < path d ="m13.13 22.19-1.63-3.83c1.57-.58 3.04-1.36 4.4-2.27zM5.64 12.5l-3.83-1.63 6.1-2.77C7 9.46 6.22 10.93 5.64 12.5M21.61 2.39S16.66.269 11 5.93c-2.19 2.19-3.5 4.6-4.35 6.71-.28.75-.09 1.57.46 2.13l2.13 2.12c.55.56 1.37.74 2.12.46A19.1 19.1 0 0 0 18.07 13c5.66-5.66 3.54-10.61 3.54-10.61m-7.07 7.07c-.78-.78-.78-2.05 0-2.83s2.05-.78 2.83 0c.77.78.78 2.05 0 2.83s-2.05.78-2.83 0m-5.66 7.07-1.41-1.41zM6.24 22l3.64-3.64c-.34-.09-.67-.24-.97-.45L4.83 22zM2 22h1.41l4.77-4.76-1.42-1.41L2 20.59zm0-2.83 4.09-4.08c-.21-.3-.36-.62-.45-.97L2 17.76z "/> </ svg > </ span > </ a > </ p >
469427</ div >
470- < div class ="grid cards ">
471- < ul >
472- < li >
473- < p > < span class ="twemoji "> < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 "> < path d ="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34-.46-1.16-1.11-1.47-1.11-1.47-.91-.62.07-.6.07-.6 1 .07 1.53 1.03 1.53 1.03.87 1.52 2.34 1.07 2.91.83.09-.65.35-1.09.63-1.34-2.22-.25-4.55-1.11-4.55-4.92 0-1.11.38-2 1.03-2.71-.1-.25-.45-1.29.1-2.64 0 0 .84-.27 2.75 1.02.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02.55 1.35.2 2.39.1 2.64.65.71 1.03 1.6 1.03 2.71 0 3.82-2.34 4.66-4.57 4.91.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2 "/> </ svg > </ span > < strong > GitHub Action</ strong > </ p >
474- < hr />
475- < p > Automated C++ linting in your CI/CD pipelines with zero configuration</ p >
476- < p > < a href ="https://cpp-linter.github.io/cpp-linter-action/ "> < span class ="twemoji "> < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 "> < path d ="M13.22 19.03a.75.75 0 0 1 0-1.06L18.19 13H3.75a.75.75 0 0 1 0-1.5h14.44l-4.97-4.97a.749.749 0 0 1 .326-1.275.75.75 0 0 1 .734.215l6.25 6.25a.75.75 0 0 1 0 1.06l-6.25 6.25a.75.75 0 0 1-1.06 0 "/> </ svg > </ span > cpp-linter-action</ a > </ p >
477- </ li >
478- < li >
479- < p > < span class ="twemoji "> < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 "> < path d ="M2.6 10.59 8.38 4.8l1.69 1.7c-.24.85.15 1.78.93 2.23v5.54c-.6.34-1 .99-1 1.73a2 2 0 0 0 2 2 2 2 0 0 0 2-2c0-.74-.4-1.39-1-1.73V9.41l2.07 2.09c-.07.15-.07.32-.07.5a2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0-2-2c-.18 0-.35 0-.5.07L13.93 7.5a1.98 1.98 0 0 0-1.15-2.34c-.43-.16-.88-.2-1.28-.09L9.8 3.38l.79-.78c.78-.79 2.04-.79 2.82 0l7.99 7.99c.79.78.79 2.04 0 2.82l-7.99 7.99c-.78.79-2.04.79-2.82 0L2.6 13.41c-.79-.78-.79-2.04 0-2.82 "/> </ svg > </ span > < strong > Pre-commit Hooks</ strong > </ p >
480- < hr />
481- < p > Catch issues before they reach your repository with Git hooks</ p >
482- < p > < a href ="https://github.com/cpp-linter/cpp-linter-hooks "> < span class ="twemoji "> < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 "> < path d ="M13.22 19.03a.75.75 0 0 1 0-1.06L18.19 13H3.75a.75.75 0 0 1 0-1.5h14.44l-4.97-4.97a.749.749 0 0 1 .326-1.275.75.75 0 0 1 .734.215l6.25 6.25a.75.75 0 0 1 0 1.06l-6.25 6.25a.75.75 0 0 1-1.06 0 "/> </ svg > </ span > cpp-linter-hooks</ a > </ p >
483- </ li >
484- < li >
485- < p > < span class ="twemoji "> < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 448 512 "> <!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--> < path d ="M439.8 200.5c-7.7-30.9-22.3-54.2-53.4-54.2h-40.1v47.4c0 36.8-31.2 67.8-66.8 67.8H172.7c-29.2 0-53.4 25-53.4 54.3v101.8c0 29 25.2 46 53.4 54.3 33.8 9.9 66.3 11.7 106.8 0 26.9-7.8 53.4-23.5 53.4-54.3v-40.7H226.2v-13.6h160.2c31.1 0 42.6-21.7 53.4-54.2 11.2-33.5 10.7-65.7 0-108.6M286.2 444.7a20.4 20.4 0 1 1 0-40.7 20.4 20.4 0 1 1 0 40.7M167.8 248.1h106.8c29.7 0 53.4-24.5 53.4-54.3V91.9c0-29-24.4-50.7-53.4-55.6-35.8-5.9-74.7-5.6-106.8.1-45.2 8-53.4 24.7-53.4 55.6v40.7h106.9v13.6h-147c-31.1 0-58.3 18.7-66.8 54.2-9.8 40.7-10.2 66.1 0 108.6 7.6 31.6 25.7 54.2 56.8 54.2H101v-48.8c0-35.3 30.5-66.4 66.8-66.4m-6.6-183.4a20.4 20.4 0 1 1 0 40.8 20.4 20.4 0 1 1 0-40.8 "/> </ svg > </ span > < strong > Python Package</ strong > </ p >
486- < hr />
487- < p > Powerful command-line tool and Python API for local development</ p >
488- < p > < a href ="https://cpp-linter.github.io/cpp-linter/ "> < span class ="twemoji "> < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 "> < path d ="M13.22 19.03a.75.75 0 0 1 0-1.06L18.19 13H3.75a.75.75 0 0 1 0-1.5h14.44l-4.97-4.97a.749.749 0 0 1 .326-1.275.75.75 0 0 1 .734.215l6.25 6.25a.75.75 0 0 1 0 1.06l-6.25 6.25a.75.75 0 0 1-1.06 0 "/> </ svg > </ span > cpp-linter</ a > </ p >
489- </ li >
490- </ ul >
491- </ div >
492- < h2 id ="everything-you-need-for-cc-code-quality "> Everything you need for C/C++ code quality</ h2 >
428+ < div class ="grid cards "> </ div >
429+ < h2 id ="everything-you-need-for-linting-cc-code "> Everything you need for linting C/C++ code</ h2 >
493430< div class ="grid cards ">
494431< ul >
495432< li >
@@ -509,29 +446,7 @@ <h2 id="everything-you-need-for-cc-code-quality">Everything you need for C/C++ c
509446</ li >
510447</ ul >
511448</ div >
512- < h2 id ="clang-tools-made-simple "> Clang Tools Made Simple</ h2 >
513- < p > < strong > No more complex installations or version conflicts.</ strong > Get < code > clang-format</ code > , < code > clang-tidy</ code > , < code > clang-query</ code > , and more through your favorite package manager:</ p >
514- < div class ="grid ">
515- < div class ="card-content ">
516- < h3 id ="pip "> < span class ="twemoji "> < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 448 512 "> <!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--> < path d ="M439.8 200.5c-7.7-30.9-22.3-54.2-53.4-54.2h-40.1v47.4c0 36.8-31.2 67.8-66.8 67.8H172.7c-29.2 0-53.4 25-53.4 54.3v101.8c0 29 25.2 46 53.4 54.3 33.8 9.9 66.3 11.7 106.8 0 26.9-7.8 53.4-23.5 53.4-54.3v-40.7H226.2v-13.6h160.2c31.1 0 42.6-21.7 53.4-54.2 11.2-33.5 10.7-65.7 0-108.6M286.2 444.7a20.4 20.4 0 1 1 0-40.7 20.4 20.4 0 1 1 0 40.7M167.8 248.1h106.8c29.7 0 53.4-24.5 53.4-54.3V91.9c0-29-24.4-50.7-53.4-55.6-35.8-5.9-74.7-5.6-106.8.1-45.2 8-53.4 24.7-53.4 55.6v40.7h106.9v13.6h-147c-31.1 0-58.3 18.7-66.8 54.2-9.8 40.7-10.2 66.1 0 108.6 7.6 31.6 25.7 54.2 56.8 54.2H101v-48.8c0-35.3 30.5-66.4 66.8-66.4m-6.6-183.4a20.4 20.4 0 1 1 0 40.8 20.4 20.4 0 1 1 0-40.8 "/> </ svg > </ span > < strong > pip</ strong > </ h3 >
517- < p > < div class ="highlight "> < pre > < span > </ span > < code > pip< span class ="w "> </ span > install< span class ="w "> </ span > clang-tools
518- clang-tools< span class ="w "> </ span > --install< span class ="w "> </ span > < span class ="m "> 20</ span >
519- </ code > </ pre > </ div >
520- < a href ="https://github.com/cpp-linter/clang-tools-pip "> < span class ="twemoji "> < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 "> < path d ="M13.22 19.03a.75.75 0 0 1 0-1.06L18.19 13H3.75a.75.75 0 0 1 0-1.5h14.44l-4.97-4.97a.749.749 0 0 1 .326-1.275.75.75 0 0 1 .734.215l6.25 6.25a.75.75 0 0 1 0 1.06l-6.25 6.25a.75.75 0 0 1-1.06 0 "/> </ svg > </ span > clang-tools-pip</ a > </ p >
521- </ div >
522- < div class ="card-content ">
523- < h3 id ="docker "> < span class ="twemoji "> < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 "> < path d ="M21.81 10.25c-.06-.04-.56-.43-1.64-.43-.28 0-.56.03-.84.08-.21-1.4-1.38-2.11-1.43-2.14l-.29-.17-.18.27c-.24.36-.43.77-.51 1.19-.2.8-.08 1.56.33 2.21-.49.28-1.29.35-1.46.35H2.62c-.34 0-.62.28-.62.63 0 1.15.18 2.3.58 3.38.45 1.19 1.13 2.07 2 2.61.98.6 2.59.94 4.42.94.79 0 1.61-.07 2.42-.22 1.12-.2 2.2-.59 3.19-1.16A8.3 8.3 0 0 0 16.78 16c1.05-1.17 1.67-2.5 2.12-3.65h.19c1.14 0 1.85-.46 2.24-.85.26-.24.45-.53.59-.87l.08-.24zm-17.96.99h1.76c.08 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16H3.85c-.09 0-.16.07-.16.16v1.58c.01.09.07.16.16.16m2.43 0h1.76c.08 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16H6.28c-.09 0-.16.07-.16.16v1.58c.01.09.07.16.16.16m2.47 0h1.75c.1 0 .17-.07.17-.16V9.5c0-.08-.06-.16-.17-.16H8.75c-.08 0-.15.07-.15.16v1.58c0 .09.06.16.15.16m2.44 0h1.77c.08 0 .15-.07.15-.16V9.5c0-.08-.06-.16-.15-.16h-1.77c-.08 0-.15.07-.15.16v1.58c0 .09.07.16.15.16M6.28 9h1.76c.08 0 .16-.09.16-.18V7.25c0-.09-.07-.16-.16-.16H6.28c-.09 0-.16.06-.16.16v1.57c.01.09.07.18.16.18m2.47 0h1.75c.1 0 .17-.09.17-.18V7.25c0-.09-.06-.16-.17-.16H8.75c-.08 0-.15.06-.15.16v1.57c0 .09.06.18.15.18m2.44 0h1.77c.08 0 .15-.09.15-.18V7.25c0-.09-.07-.16-.15-.16h-1.77c-.08 0-.15.06-.15.16v1.57c0 .09.07.18.15.18m0-2.28h1.77c.08 0 .15-.07.15-.16V5c0-.1-.07-.17-.15-.17h-1.77c-.08 0-.15.06-.15.17v1.56c0 .08.07.16.15.16m2.46 4.52h1.76c.09 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16h-1.76c-.08 0-.15.07-.15.16v1.58c0 .09.07.16.15.16 "/> </ svg > </ span > < strong > Docker</ strong > </ h3 >
524- < p > < div class ="highlight "> < pre > < span > </ span > < code > docker< span class ="w "> </ span > pull< span class ="w "> </ span > xianpengshen/clang-tools
525- </ code > </ pre > </ div >
526- < a href ="https://github.com/cpp-linter/clang-tools-docker "> < span class ="twemoji "> < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 "> < path d ="M13.22 19.03a.75.75 0 0 1 0-1.06L18.19 13H3.75a.75.75 0 0 1 0-1.5h14.44l-4.97-4.97a.749.749 0 0 1 .326-1.275.75.75 0 0 1 .734.215l6.25 6.25a.75.75 0 0 1 0 1.06l-6.25 6.25a.75.75 0 0 1-1.06 0 "/> </ svg > </ span > clang-tools-docker</ a > </ p >
527- </ div >
528- < div class ="card-content ">
529- < h3 id ="python-wheels "> < span class ="twemoji "> < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 "> < path d ="M5 20h14v-2H5m14-9h-4V3H9v6H5l7 7z "/> </ svg > </ span > < strong > Python Wheels</ strong > </ h3 >
530- < p > < div class ="highlight "> < pre > < span > </ span > < code > pip< span class ="w "> </ span > install< span class ="w "> </ span > clang-<name>-<version>.whl
531- </ code > </ pre > </ div >
532- < a href ="https://github.com/cpp-linter/clang-tools-wheel "> < span class ="twemoji "> < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 24 24 "> < path d ="M13.22 19.03a.75.75 0 0 1 0-1.06L18.19 13H3.75a.75.75 0 0 1 0-1.5h14.44l-4.97-4.97a.749.749 0 0 1 .326-1.275.75.75 0 0 1 .734.215l6.25 6.25a.75.75 0 0 1 0 1.06l-6.25 6.25a.75.75 0 0 1-1.06 0 "/> </ svg > </ span > clang-tools-wheel</ a > </ p >
533- </ div >
534- </ div >
449+ < div class ="grid "> </ div >
535450< h2 id ="quick-start "> Quick Start</ h2 >
536451< div class ="tabbed-set tabbed-alternate " data-tabs ="1:3 "> < input checked ="checked " id ="__tabbed_1_1 " name ="__tabbed_1 " type ="radio " /> < input id ="__tabbed_1_2 " name ="__tabbed_1 " type ="radio " /> < input id ="__tabbed_1_3 " name ="__tabbed_1 " type ="radio " /> < div class ="tabbed-labels "> < label for ="__tabbed_1_1 "> GitHub Actions</ label > < label for ="__tabbed_1_2 "> Pre-commit</ label > < label for ="__tabbed_1_3 "> Command Line</ label > </ div >
537452< div class ="tabbed-content ">
0 commit comments