HomePhabricator

Add -Wno-error=unknown flag to clang-format.

Authored by fodinabor on Aug 18 2020, 5:33 AM.

Description

Add -Wno-error=unknown flag to clang-format.

Currently newer clang-format options cannot be included in .clang-format files, if not all users can be forced to use an updated version.
This patch tries to solve this by adding an option to clang-format, enabling to ignore unknown (newer) options.

Differential Revision: https://reviews.llvm.org/D86137

Details

Committed
fodinaborSep 19 2020, 1:17 AM
Differential Revision
D86137: Add -Wno-error=unknown flag to clang-format.
Parents
rGecf98246bd92: [NFC] Test commit
Branches
Unknown
Tags
Unknown