9 Commits

Author SHA1 Message Date
Robert Ancell
6d426a6046
Stop clang code formatter checker breaking if local files match glob (#17891)
To reproduce:
$ touch foo.c foo.cc foo.cpp foo.h foo.m foo.mm
$ ./ci/format.sh

This will not check any file with clang, as the following command will do a
shell expansion and not find anything in git that matches:
$ git ls-files *.c *.cc *.cpp *.h *.m *.mm
2020-04-24 12:26:31 +12:00
Dan Field
ff62dec5c9
Roll to clang11, mark 4 (#17483)
* "Reland Clang 11, roll buildroot to 1bc40a5f916adb93d87e2a2230a0ec43db876c1c, take 4 (#17467)" (#17482)"

This reverts commit 8166a91bca11b83c16fba8f8fd407e937a2ac89c.

* format code

* Roll buildroot to 3a27de1c5bb0f50be7d3efe3e00de4f6068c9f30
2020-04-02 13:04:49 -07:00
Michael Klimushyn
8f03a563d8
Check Java formatting in format.sh (#16500)
Uses google-java-format, a tool that's already in place in
flutter/plugins. This should take care of minor style guide issues and
unresolved imports.
2020-02-07 16:05:08 -08:00
Jim Graham
29b2e91f11
Include uncommitted files when checking for code format issues. (#14035) 2019-11-27 11:45:03 -08:00
Jason Simmons
2ebd9db464
Fix the dry run mode of the GN format checker script (#13406) 2019-10-29 10:53:52 -07:00
Dan Field
f348270047
Simplify buildtools (#9875)
Move GN, only get clang
2019-07-17 11:35:58 -07:00
Chinmay Garde
f39cf3774d
Add a GN format presubmit. (#8371) 2019-03-29 13:56:55 -07:00
liyuqian
d764b69b28
Add docs for helpful commands to fix format (#8171) 2019-03-19 14:03:45 -07:00
liyuqian
5f04e00d7a
Remove travis directory (#5935)
This reflects that we no longer uses travis. Scripts are moved to ci folder.
2018-08-06 15:06:49 -07:00