commit | 0633f76324ad6de4de1e36ced0054d8cf921b09b | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Sun Aug 02 14:20:38 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Sun Aug 02 18:53:15 2020 +0000 |
tree | c69b8d00fa155fd98df5585e3b89940e746130c1 | |
parent | 8423d060bdb5d69322dcd70a12a660215e0a3f78 [diff] |
Enable ClangTidy check misc-definitions-in-headers. https://clang.llvm.org/extra/clang-tidy/checks/misc-definitions-in-headers.html Finds non-extern non-inline function and variable definitions in header files, which can lead to potential ODR violations in case these headers are included from multiple translation units. Change-Id: I5a80d8bddbc7fae97a3b714ac4e376bcefc3b060 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/307436 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Mike Klein <mtklein@google.com>