Bug 1519636 - Reformat recent changes to the Google coding style r=geckoview-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,nalexander,gstoll,tcampbell,janv,julienw

Updated with clang-format version 19.1.7 (taskcluster-DYvBxDZJRVqTi8E7pTSJAQ)

Differential Revision: https://phabricator.services.mozilla.com/D249880
This commit is contained in:
Sylvestre Ledru
2025-05-17 19:07:22 +00:00
committed by sledru@mozilla.com
parent 1df22ac023
commit 8ae54ea4f9
331 changed files with 2084 additions and 2460 deletions

View File

@@ -69,8 +69,7 @@ struct RelR : public Elf<bits> {
using Elf_Verneed = typename Elf<bits>::Verneed;
using Elf_Vernaux = typename Elf<bits>::Vernaux;
#define TAG_NAME(t) \
{ t, #t }
#define TAG_NAME(t) {t, #t}
class DynInfo {
public:
using Tag = decltype(Elf_Dyn::d_tag);

View File

@@ -6,11 +6,11 @@
/* Recent binutils would put .ctors content into a .init_array section */
__attribute__((section(".manual_ctors"), used)) static void (*ctors[])() = {
(void (*)()) - 1, end_test, test, NULL};
(void (*)())-1, end_test, test, NULL};
__attribute__((section(".init"))) void _init() {
void (**func)() = &ctors[sizeof(ctors) / sizeof(void (*)()) - 1];
while (*(--func) != (void (*)()) - 1) {
while (*(--func) != (void (*)())-1) {
(*func)();
}
}