Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Enable checking headers with Clang Tidy. #46009

Merged
merged 16 commits into from
Sep 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,11 @@ CheckOptions:
value: "lower_case"
- key: readability-identifier-naming.PrivateMemberSuffix
value: "_"

# Lint headers within paths that contain "/flutter/" but not:
# - gen (generated code, the fact it compiles is good enough™)
# - third_party (we didn't author most of the code, and can't fix the lints)
#
# Note this is because of our buildroot setup, so the full path of a lint is:
# "../../flutter/impeller/core/runtime_types.h:1:1" as reported.
HeaderFilterRegex: "(!third_party/)(!gen/).*/flutter/.*"