Apply formatting

This commit is contained in:
Bolshakov 2022-12-02 11:44:49 +03:00 committed by Kim Gräsman
parent 42fece0244
commit 7b9c04c0d3
2 changed files with 6 additions and 4 deletions

View File

@ -17,10 +17,10 @@ class A {
// IWYU: IndirectClass needs a declaration
IndirectClass *getIndirectClass(int i) {
// IWYU: IndirectClass is...*indirect.h
(void) sizeof(_b[i]); // requires full type
(void)sizeof(_b[i]); // requires full type
// IWYU: IndirectClass needs a declaration
// IWYU: IndirectClass is...*indirect.h
(void) sizeof(&(_b[i])); // requires full type
(void)sizeof(&(_b[i])); // requires full type
// IWYU: IndirectClass is...*indirect.h
return &(_b[i]);
}

View File

@ -17,9 +17,11 @@
class IndirectClass {
public:
void Method() const { }
void Method() const {
}
int a;
static void StaticMethod() { }
static void StaticMethod() {
}
static int statica;
};