[all-commits] [llvm/llvm-project] d7921d: [clang-format] Correctly handle backward compatibi...
owenca via All-commits
all-commits at lists.llvm.org
Thu Sep 25 00:44:54 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d7921de8027eec19a9d272bf445944973e6758b1
https://github.com/llvm/llvm-project/commit/d7921de8027eec19a9d272bf445944973e6758b1
Author: owenca <owenpiano at gmail.com>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M clang/lib/Format/Format.cpp
M clang/unittests/Format/ConfigParseTest.cpp
Log Message:
-----------
[clang-format] Correctly handle backward compatibility of C headers (#159908)
This in effect reverts 05fb8408de23c3ccb6125b6886742177755bd757 and
7e1a88b9d1431e263258e3ff0f729c1fdce342d3, the latter of which
erroneously changed the behavior of formatting `ObjC` header files when
both the default and `ObjC` styles were absent. Now the previous
behavior of treating that as an error is restored.
Fixes #158704
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