Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5
# 91285e26 29-Nov-2024 Clement Courbet <courbet@google.com>

[clang-reorder-fields] Handle macros fields declarations. (#118005)

Right now fields with macro declarations break the tool:

```

struct Foo {
Mutex mu;
int x GUARDED_BY(mu);
int y;
}

[clang-reorder-fields] Handle macros fields declarations. (#118005)

Right now fields with macro declarations break the tool:

```

struct Foo {
Mutex mu;
int x GUARDED_BY(mu);
int y;
};
```

reordered by mu,y,x yields:

```
struct Foo {
Mutex mu;
int y GUARDED_BY(mu);
int x;
};
```

show more ...