[all-commits] [llvm/llvm-project] f5ff3a: [clang-tidy] Do not emit file path for anonymous e...
Discookie via All-commits
all-commits at lists.llvm.org
Mon Oct 28 04:19:43 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f5ff3a560fe247206814792a7f8efef8215f7689
https://github.com/llvm/llvm-project/commit/f5ff3a560fe247206814792a7f8efef8215f7689
Author: Discookie <viktor.cseh at ericsson.com>
Date: 2024-10-28 (Mon, 28 Oct 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/EnumInitialValueCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/enum-initial-value.c
Log Message:
-----------
[clang-tidy] Do not emit file path for anonymous enums in `readability-enum-initial-value` check (#112496)
Previously the name of anonymous enums in the check were `enum 'enum
(unnamed at /full/path/to/file.c:1:1)'`, which breaks reproducibility of
clang-tidy reports when the analyzed project is in a different folder.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list