https://github.com/PiotrZSL requested changes to this pull request.

Overall what is now is +- working.
Few fixes are still needed to tests, code, maybe some tiny refactoring and code 
formatting.

Consider adding support for implicit casts:
```
unsigned X = 10;

`-VarDecl <line:1:1, col:14> col:10 X 'unsigned int' cinit
  `-ImplicitCastExpr <col:14> 'unsigned int' <IntegralCast>
    `-IntegerLiteral <col:14> 'int' 10
```
To:
```
unsigned X = 10U;

`-VarDecl <line:1:1, col:14> col:10 X 'unsigned int' cinit
  `-IntegerLiteral <col:14> 'unsigned int' 10
```

I worry also a little bit about integer overflow issues.

https://github.com/llvm/llvm-project/pull/76065
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to