| commit | 537ea5d0e75516b642e1340efee63d94ddffe24e | [log] [tgz] |
|---|---|---|
| author | Takashi Sakamoto <tasak@google.com> | Fri Sep 13 02:47:33 2024 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 13 02:47:33 2024 |
| tree | c566a2fdc73cc8ab663a583909ba7c5b6e636e71 | |
| parent | 0d5cb2c242a656d60531fefa9aebfc25a6dd615b [diff] |
Spanification tool: add namespace while spanification. This cl does the same things as crrev.com/c/5836794 for arrays. To determine whether it is possible to get the original type from the source text or not, we see whether `array_type_loc.getElementLoc().getSourceRange()` fully contains `array_type_loc.getBracketsRange()` or not. If fully contains, we use `getAsString()`. Otherwise, we get the original type. For example if the given array is an array of function pointers: `int (*func[16])[]`. The getElementLoc().getSourceRange() contains the brackets range: `[16]`. So we use `getAsString()`. Bug: 359754054 Change-Id: Iaaca0857aed642f634d8da6b39d88a9f64ffd194 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5854569 Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org> Commit-Queue: Takashi Sakamoto <tasak@google.com> Cr-Commit-Position: refs/heads/main@{#1354962}
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.