4 Commits

Author SHA1 Message Date
Victor Hugo Vianna Silva
58a1b4ad23 Clarify C++ standard in .clang-format
"Cpp11" is not C++11, it's the same as "Latest".
d4c0c7b38f/clang/lib/Format/Format.cpp (L546-L547)

Change-Id: I4860f4908a59b651b10e2fd3835e24f9ca72a232
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/147250
Commit-Queue: Lei Zhang <thestig@chromium.org>
Auto-Submit: Victor Vianna <victorvianna@google.com>
Reviewed-by: Lei Zhang <thestig@chromium.org>
2026-05-06 09:31:19 -07:00
Victor Hugo Vianna Silva
ae7d476935 Remove TODO about upstreaming InsertBraces to Chromium clang-format
It looks like we're not gonna be able to upstream this anyway
(https://crbug.com/40247920#comment20), so remove the TODO.

Bug: 40247920
Change-Id: If7e77f0364c008fb3c844481045838b4c5cec707
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/132290
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
2025-05-22 09:00:50 -07:00
Lei Zhang
7c84cdac7e Sync .clang-format with the Chromium copy.
Set the InsertBraces and Standard rules.

Change-Id: I0791c89eae05c4191c71a2c762619f89706599c2
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/103222
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
2023-01-17 22:36:58 +00:00
Nico Weber
b915978978 Merge to XFA: Add a .clang-format config file.
This is the .clang-format file I used to format everything.

BUG=none
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1260183009 .
2015-08-04 13:56:23 -07:00