
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
3 lines
132 B
C++
3 lines
132 B
C++
// RUN: %clang -x c++-header -o %t.a.ast %S/Inputs/FormatAttr.cpp
|
|
// RUN: %clang_cc1 -x c++ -ast-merge %t.a.ast /dev/null -ast-dump
|