This is an archive of the discontinued LLVM Phabricator instance.

- Update .clang-tidy to ignore parameters of main like functions for naming violations in clang and llvm directory
ClosedPublic

Authored by njames93 on Jan 30 2020, 8:12 AM.

Details

Summary

Every call to a main like function in llvm and clang lib violates the naming convention for parameters. This prevents clang-tidy warning on such breaches.

Diff Detail

Event Timeline

njames93 created this revision.Jan 30 2020, 8:12 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 30 2020, 8:12 AM
njames93 marked an inline comment as done.Jan 30 2020, 8:13 AM
njames93 added inline comments.
clang/.clang-tidy
23

Although identifier-naming is disabled, its still a good idea to include this just in case people run clang tidy manually

Unit tests: pass. 62329 tests passed, 0 failed and 838 were skipped.

clang-tidy: pass.

clang-format: pass.

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

Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.

hokein accepted this revision.Jan 31 2020, 12:58 AM

thanks, looks good.

This revision is now accepted and ready to land.Jan 31 2020, 12:58 AM
This revision was automatically updated to reflect the committed changes.