google / google/styleguide

google-c-style doesn't work in "android mode"

Open
#323 0 comments 0 reactions 0 assignees View on GitHub
lang:cpp
Dominant language
HTML
Stars
39.6k
Forks
12.9k
Avg merge
42m
Merged PRs (30d)
15

Description

It seems to me that google-c-lineup-expression-plus-4 should not be "plus 4 spaces" but rather "plus c-basic-offset * 2". If you use the style checker with the "--android" flag, it insists on 8 spaces (since the basic offset is 4 instead of 2).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.