-
I compile this code with a crash:
```c
a = {{}, 1};
```
Assertion:
```console
/root/llvm-project/clang/include/clang/AST/Expr.h:5091: clang::Expr* clang::InitListExpr::getInit(unsigned int…
-
Compiler Explorer: [https://godbolt.org/z/Tjo4oqohT](https://godbolt.org/z/Tjo4oqohT)
Attempting to compile below program with Clang Trunk:
```c
struct S { int a, b, c; };
void bar( struct S x )…
-
@Alxandr implemented AST Explorer plugin for Jsonnet. It may be pretty useful for tooling development.
More details in #804.
-
I'm receiving the error message stating that my version of SpiderMonkey AST doesn't support parent node traversal from /lib/astq.node.js:362.
The query I'm using is in fact trying to traverse parent …
-
From discussion in slack:
- List `beginner-friendly` and `help wanted` tagged issues (ex: https://hapijs.com/contribute), we might need to do a round of issue tagging/cleanup first.
- At the min…
-
Attempting to compile below program using `clang-20` with option `-O0` triggers an assertion failure.
```cpp
struct {
__CHAR16_TYPE__ s[2];
} a[] = { [0].s[0] = u'x', u"" };
```
This behav…
-
Compiler Explorer: [https://godbolt.org/z/hMz85a8xz](https://godbolt.org/z/hMz85a8xz)
Clang trunk crashes when compiling the following program:
```c
#define LIM1(x) x##0: x##1: x##2: x##3: x##4: …
-
I've spent the last few months working on a tool, [cst-tokens](https://github.com/js-cst-tokens/cst-tokens), that I believe will serve as a replacement for recast.
The idea of cst-tokens is to impl…
-
When I look at C++ code in clang using Compiler Explorer, I can "Add New > AST Output" or "Add New > IR Output" to the right-hand pane. However, these options are not available for Swift, even though …
-
## AST Query
### TLDR: Provide an AST pattern, and see details about when that pattern was introduced.
## Overview
This enables a much easier way to understand how or why a pattern was intro…