
During the import of FormatAttrs we forgot to import the type (e.g `__scanf__`) of the attribute. This caused a segfault when we wanted to traverse the AST (e.g. by the dump() method). Differential Revision: https://reviews.llvm.org/D89319
2 lines
76 B
C++
2 lines
76 B
C++
int foo(const char *fmt, ...) __attribute__((__format__(__scanf__, 1, 2)));
|