commit | d8517c959bbc3315fa17e33d95fba1cc77a010a8 | [log] [tgz] |
---|---|---|
author | Arthur Sonzogni <arthursonzogni@chromium.org> | Fri Mar 03 09:41:45 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 03 09:41:45 2023 |
tree | 98ee6bc7ceb35d29cf4867532af8a5f02396dc17 | |
parent | 04e4120362966d9f82c958f6e8debe3e7bed1aa9 [diff] |
C++ styleguide: allow designated initializer. They are allowed by the Google style guide, and used in Chrome. https://groups.google.com/a/chromium.org/g/cxx/c/YTuYWSNOpS8/m/eyMr3XxrAgAJ Nevertheless, it is a bit ambiguous, because of the chromium coding style. Indeed, some developers interpret the sentence "C++20: Not yet supported in Chromium" as an ban of the feature. This patch make it explicit the Chromium coding style do not contradict the Google coding style here. Bug: None Change-Id: I8571c9d74e1e22525574c9609c6d07d022c3592e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4301374 Reviewed-by: Peter Kasting <pkasting@chromium.org> Reviewed-by: danakj <danakj@chromium.org> Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Cr-Commit-Position: refs/heads/main@{#1112689}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.