Looks like lldb has some issues with this - somehow it causes lldb to treat a "char[N]" type as an array of chars (prints them out individually) but a "char [N]" is printed as a string. (even though the DWARF doesn't have this string in it - it's something to do with the string lldb generates for itself using clang) This reverts commit 277623f4d5a672d707390e2c3eaf30a9eb4b075c.
11 lines
232 B
C++
11 lines
232 B
C++
// RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s | FileCheck %s
|
|
// CHECK: CXXCtorInitializer
|
|
// CHECK-NEXT: ArrayInitLoopExpr
|
|
// CHECK-SAME: 'int [10]'
|
|
|
|
// CHECK: ArrayInitIndexExpr
|
|
|
|
void expr() {
|
|
f();
|
|
}
|