Issue 61654
Summary clang-format corrupts the code
Labels new issue
Assignees
Reporter duduarbel
    The following code 
```
class A
{
	MARCO1 // comment
	MACRO2
public:
	int x;
	int y;
};
```
is formatted to this bad code:
```
class A
{
 MARCO1 // comment
        MACRO2 public : int x;
    int y;
};
```

The .clag-format has only one line: BasedOnStyle: Microsoft
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to