Skip to content
Commit a1f0ea93 authored by Luis Javier Merino's avatar Luis Javier Merino Committed by Tomaz Canabrava
Browse files

Fix brokennes from clang-format

The template system used for generating CharacterWidth.cpp and
clang-format don't interact that well.

So, repair the things that clang-format broke, disable clang-format for
sections using templates, and don't reenable clang-format until its
notion of indentation is sane.

After this commit the generated file can be easily compared with a
pre-clang-format version:

git diff 7e1b31cd src/characters/CharacterWidth.cpp

The only differences are new clang-format off/on annotations and a few
formatting fixes.
parent d787ac75
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment