[
https://issues.apache.org/jira/browse/IMPALA-12730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe McDonnell resolved IMPALA-12730.
------------------------------------
Fix Version/s: Impala 4.4.0
Resolution: Fixed
> Avoid Weverything for Clang Tidy
> --------------------------------
>
> Key: IMPALA-12730
> URL: https://issues.apache.org/jira/browse/IMPALA-12730
> Project: IMPALA
> Issue Type: Improvement
> Components: Infrastructure
> Affects Versions: Impala 4.4.0
> Reporter: Joe McDonnell
> Assignee: Joe McDonnell
> Priority: Major
> Fix For: Impala 4.4.0
>
>
> When building Impala for Clang Tidy, we turn on -Weverything
> {noformat}
> SET(CXX_FLAGS_TIDY "${CXX_FLAGS_TIDY} -Wall -W -Weverything -Wno-c++98-compat
> -Wno-padded"){noformat}
> Clang Tidy uses these warnings to implement the "clang-diagnostic" Clang Tidy
> issues. The other Clang Tidy checkers don't need Weverything to function.
> Since we now use -Werror for our Clang builds, I think anything we would want
> to find with this could also be found by adding extra warnings to the regular
> Clang build.
> Weverything is super verbose and makes build failures much harder to find in
> the logs. It changes across Clang versions. In general, I think it is not
> worth it anymore. We could remove it and clean up .clang-tidy.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)