-
clang-tidy/cppcoreguidelines/ 9/9
ConstCorrectnessCheck.h 27/27
ConstCorrectnessCheck.cpp -
CppCoreGuidelinesTidyModule.cpp -
cppcoreguidelines-const-correctness.rst -
test/clang-tidy/checkers/ -
cppcoreguidelines-const-correctness-cxx17.cpp -
cppcoreguidelines-const-correctness-pointer-as-values.cpp 3/3
cppcoreguidelines-const-correctness-templates.cpp 7/7
cppcoreguidelines-const-correctness-transform-pointer-as-values.cpp 13/13
cppcoreguidelines-const-correctness-transform-values.cpp 18/18
cppcoreguidelines-const-correctness-values.cpp
| | Authored by JonasToth on Nov 27 2018, 4:04 AM. Event TimelineHerald added a project: Restricted Project. JonasToth retitled this revision from [clang-tidy] implement const-transformation for cppcoreguidelines-const-correctness to [clang-tidy] implement const-transformation for misc-const-correctness. JonasToth retitled this revision from [clang-tidy] implement const-transformation for misc-const-correctness to [clang-tidy] implement new check 'misc-const-correctness' to add 'const' to unmodified variables. This revision is now accepted and ready to land. This revision now requires changes to proceed. This revision was not accepted when it landed; it landed in state Needs Review. This revision was automatically updated to reflect the committed changes. Path | Size |
---|
| | | clang-tidy/ | cppcoreguidelines/ |
| | | 2 lines | | 61 lines | | 205 lines | | 3 lines | | | | 5 lines | | | | 145 lines | | 1 line | | test/ | clang-tidy/ | checkers/ |
| | | 49 lines | | 11 lines | | 21 lines | | 13 lines | | 168 lines | | 953 lines |
Commit | Tree | Parents | Author | Summary | Date |
---|
64fb4f066574 | 2083f81a7506 | 40cbd8574414 | Jonas Toth | minor adjustments for comments | Sep 5 2021, 8:33 AM | 40cbd8574414 | d009a2a8ca9f | 0bf394fea226 | Jonas Toth | simplify condition | Aug 15 2021, 8:37 AM | 0bf394fea226 | f41d380b3075 | 5716f23370dd | Jonas Toth | fix: deduplicate diagnostics from template instantiations | Aug 15 2021, 8:22 AM | 5716f23370dd | 83396673e1e0 | 247645cde2f4 | Jonas Toth | cache diagnostic locations for templates and deduplicate their output | Aug 15 2021, 7:36 AM | 247645cde2f4 | 532b64d90183 | 207bc1951fa0 | Jonas Toth | add a template reproducer | Aug 15 2021, 6:36 AM | 207bc1951fa0 | 25ba82efd0e1 | 42f53a2b6e3a | Jonas Toth | fix docs on limitations | Aug 15 2021, 5:03 AM | 42f53a2b6e3a | 19e1487203fc | c0aade64b1c6 | Jonas Toth | fix: auto and type-dependent initializers fixed by ignoring them correctly in… (Show More…) | Aug 15 2021, 5:00 AM | c0aade64b1c6 | fc32baf7cf91 | 925288c4c099 | Jonas Toth | write documentation for const-analysis check | Aug 15 2021, 3:07 AM | 925288c4c099 | 50856ab850f2 | 9f8e74710d4a c35e4dc8dd0b | Jonas Toth | Merge branch 'main' into feature_rebase_const_transform_20210808 | Aug 15 2021, 1:07 AM | 9f8e74710d4a | 298660da9141 | dd3de66c1d12 | Jonas Toth | fix review comments | Aug 9 2021, 12:19 PM | dd3de66c1d12 | 6d6325368a42 | 260a3f131572 | Jonas Toth | fix: remove crash from unbound variable, fix outcommented tests to be explicit… (Show More…) | Aug 9 2021, 12:03 PM | 260a3f131572 | afc9e69a848d | e83e12467533 400cd6d2f049 | Jonas Toth | Merge branch 'main' into feature_rebase_const_transform_20210808 | Aug 8 2021, 1:36 PM | e83e12467533 | 391f79cf9504 | e8a04d963281 37f0c8df47d8 | Jonas Toth | Merge branch 'main' into feature_const_transform | Dec 5 2020, 1:29 PM | e8a04d963281 | c549e80600db | e29641681ae5 | Jonas Toth | fix test RUN line | Oct 10 2020, 5:42 AM | e29641681ae5 | 4d257ade5ffa | 2d07fb95d817 | Jonas Toth | - no delayed template parsing, adjust release note issue | Oct 10 2020, 5:10 AM | 2d07fb95d817 | c57af90d2af1 | 2fb5d477e366 | Jonas Toth | missed one place of decltype | Oct 9 2020, 7:22 AM | 2fb5d477e366 | ceb842df9a3a | 8713f62abde5 | Jonas Toth | fix platform dependent warning message for decltype to just match the beginning… (Show More…) | Oct 9 2020, 6:43 AM | 8713f62abde5 | dec183c527f4 | 6993d53c03f6 | Jonas Toth | address review comments | Oct 9 2020, 6:00 AM | 6993d53c03f6 | c2244350402a | f09e551ab5bb e517e5cfec90 | Jonas Toth | Merge branch 'master' into feature_const_transform | Oct 9 2020, 5:06 AM | f09e551ab5bb | f1095bab963c | 2cbf83909d58 | Jonas Toth | | Sep 22 2020, 10:07 AM | 2cbf83909d58 | 8958b7525efc | bf98d46ee17b | Jonas Toth | remove spurious formatting change | Sep 16 2020, 11:38 AM | bf98d46ee17b | 361c5fe4f367 | 0bace8e08a03 | Jonas Toth | fix imprecisions | Oct 7 2020, 2:40 AM | 0bace8e08a03 | 00d06bc0ef87 | 8dcad8cf71ec | Jonas Toth | adjust matcher for comma | Oct 6 2020, 9:39 AM | 8dcad8cf71ec | cdd905233d10 | f604704212d3 | Jonas Toth | better canResolveToExpr matcher code | Oct 6 2020, 9:30 AM | f604704212d3 | 5cd05132c4a4 | a29ae52bf12b | Jonas Toth | fix type-dependent callexpr, too | Sep 27 2020, 5:20 AM | a29ae52bf12b | e9673ddd81e9 | 07ce8908c0f5 | Jonas Toth | fix derived-to-base-cast OUTSIDE of an conditional operator | Sep 27 2020, 3:41 AM | 07ce8908c0f5 | d3449e42ae26 | 51e2d73b7801 | Jonas Toth | document sections in the testcases, hopefully little more structure for… (Show More…) | Sep 27 2020, 3:41 AM | 51e2d73b7801 | 919d7d99d85b | 80f96ff9cfab | Jonas Toth | fix typo that provided wrong argument to AST building | Sep 25 2020, 7:21 AM | 80f96ff9cfab | f6cefeb6494c | fdbebe66051b | Jonas Toth | - address review comments | Sep 25 2020, 7:18 AM | fdbebe66051b | 94926e38cc56 | b3074cc7e2eb | Jonas Toth | - adress review comments | Sep 24 2020, 7:23 AM | b3074cc7e2eb | b8bf744cdc20 | 78a7f52358a5 | Jonas Toth | - fix method calls with templates in some instances | Sep 22 2020, 10:08 AM | 78a7f52358a5 | 97ac59393d88 | 7ac928ccb9b6 | Jonas Toth | - considered unresolved operator calls to be a modification | Sep 22 2020, 8:34 AM | 7ac928ccb9b6 | be56d4648876 | db2bb708ecab | Jonas Toth | - improve the expression matcher, to catch the expression in general ternary… (Show More…) | Sep 22 2020, 8:03 AM | db2bb708ecab | 6288a8ef66f2 | 4d1d8ae7100e | Jonas Toth | | Sep 22 2020, 5:14 AM |
|
Will this work under clangd as I don't think that links in the clangAnalysis libraries @sammccall?