0dd3ab5387
clang-format tries to automatically detect the Cpp standard used, particularly when determining to put spaces in template definitions: Cpp03: std::vector<std::pair<bool, bool> > vs Cpp11: std::vector<std::pair<bool, bool>> It doesn't always get this correct as seen in https://android-review.googlesource.com/c/platform/system/core/+/973463/8 but since we know that all code within Android is C++17, we can safely assume it should be formatted with the newer standard. Test: clang-format doesn't break the above change. Change-Id: I7d1d709690b7bca6da3863cc9a58e53eaec751b0 |
||
---|---|---|
.. | ||
Android.bp | ||
build-ndk-prebuilts.sh | ||
build_broken_logs.go | ||
diff_build_graphs.sh | ||
gen-java-current-api-files.sh | ||
gen-kotlin-build-file.sh | ||
jar-args.sh | ||
jar-wrapper.sh | ||
jars-to-module-info-java.sh | ||
manifest.py | ||
manifest_check.py | ||
manifest_check_test.py | ||
manifest_fixer.py | ||
manifest_fixer_test.py | ||
mergenotice.py | ||
microfactory.bash | ||
OWNERS | ||
package-check.sh | ||
setup_go_workspace_for_soong.sh | ||
strip.sh | ||
system-clang-format | ||
system-clang-format-2 | ||
TEST_MAPPING | ||
toc.sh |