This is an archive of the discontinued LLVM Phabricator instance.

testing clang-tidy
AbandonedPublic

Authored by goncharov on Dec 17 2019, 2:17 AM.

Details

Diff Detail

Event Timeline

goncharov created this revision.Dec 17 2019, 2:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 17 2019, 2:17 AM

Unit tests: pass. 60968 tests passed, 0 failed and 727 were skipped.

clang-tidy: fail. Please fix clang-tidy findings.

clang-format: fail. Please format your changes with clang-format by running git-clang-format HEAD^ or applying this patch.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

Eugene.Zelenko added a project: Restricted Project.
Eugene.Zelenko added a subscriber: cfe-commits.

Where set of Clang-tidy checks come from? .clang-tidy? Could stricter set of custom rules be used?

clang/include/clang/Analysis/AnalysisDeclContext.h
527

Shouldn't absence of comment for closing #endif detected by Clang-tidy?

Where set of Clang-tidy checks come from? .clang-tidy? Could stricter set of custom rules be used?

Yes, clang-tidy uses the .clang-tidy. Do you want to enable additional rules for a subproject?

Where set of Clang-tidy checks come from? .clang-tidy? Could stricter set of custom rules be used?

Yes, clang-tidy uses the .clang-tidy. Do you want to enable additional rules for a subproject?

It really depends on state of each project. There are a lot of legacy issues, but it makes sense to treat new code with more demands, for example with respect to modernize checks.

alexfh added a comment.Jan 8 2020, 8:24 AM

What version of clang-tidy and clang-format does this run? Whatever is available in Debian packages?

goncharov abandoned this revision.Jun 4 2020, 12:58 AM