-
# MIR Inconsistencies
- [x] - `Statement::Import` (Not planned, part of the Module struct as separate alternative functionality.)
- [ ] - `Statement::Enum`
- [x] - `Statement::Const` (WIP. #57)
…
-
Since the routes are generated it’s possible to gen Otel telemetry ?
-
* Inside your ast.ts, you have a method called `retreat`. It shouldn't be there. It is an abstract class which the methods should only be declared and not defined. The derived class should overwrite e…
-
`isLocal` used in some of tidy's check. I think maybe we can move it to some common part. e.g. ast-matcher or clang-tidy/utils folder.
-
Currently the `AST` class is used for different kinds of AST entries, i.e. `QuInstruct`, `Callable`, etc. For maintainability and readability it would be better to have a class hierarchy. For example …
-
# Bug report
### Bug description:
```python
c = ast.parse('x = 1')
c.body[0].end_col_offset = 2**31-1
c.body[0].end_col_offset
2147483647
code = compile(c, "", "exec")
```
It leads to overflow in […
-
In #678, we've got a manual AST generator for verification purposes.
For now, it is fully manually written, and I believe this is far from productive.
Let's consider automating it somehow. Some …
-
We should be able handle annotations in the AST, such as recording source spans, additional information for structs (such as offsets, field widths etc provided by Clang) or type information (for type …
edsko updated
2 weeks ago
-
Given
```cpp
template
auto foo(T ...params) {
return params...[N];
}
```
Running `clang -std=c++2c -fsyntax-only -Xclang -ast-print` on it results in
```
template auto foo(T ...para…
-
I have an AST with multiple categories of the nodes: statements (`Stmt`), expressions (`Expr`), patterns (`Pat`). There are also some less important subcategories.
`Stmt` may contain `Expr`s and `P…