mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-28 08:02:08 +00:00
Try to port tests to AST dump changes
llvm-svn: 351703
This commit is contained in:
parent
f81edba34d
commit
7334d240b1
@ -23,7 +23,6 @@ int main(int argc, char **argv) {
|
||||
// CHECK-NEXT: | |-ParmVarDecl {{.*}} argc 'int'
|
||||
// CHECK-NEXT: | `-ParmVarDecl {{.*}} argv 'char **'
|
||||
// CHECK-NEXT: |-FunctionDecl {{.*}} static_fn 'int ()' static
|
||||
// CHECK-NEXT: |-FunctionDecl {{.*}} varargs_fn 'int (int, int, ...)'
|
||||
// CHECK-NEXT: | |-ParmVarDecl {{.*}} x 'int'
|
||||
// CHECK-NEXT: | `-ParmVarDecl {{.*}} y 'int'
|
||||
// CHECK-NEXT: `-<undeserialized declarations>
|
||||
// CHECK-NEXT: `-FunctionDecl {{.*}} varargs_fn 'int (int, int, ...)'
|
||||
// CHECK-NEXT: |-ParmVarDecl {{.*}} x 'int'
|
||||
// CHECK-NEXT: `-ParmVarDecl {{.*}} y 'int'
|
||||
|
@ -117,8 +117,8 @@ auto incomplete = &three<Incomplete*, Incomplete**, const Incomplete*>;
|
||||
// CHECK: |-VarDecl {{.*}} c 'U (*)(volatile E *, volatile S &, volatile C &&)'
|
||||
// CHECK: |-VarDecl {{.*}} d 'C (*)(const volatile U *, const volatile E &, const volatile S &&)'
|
||||
// CHECK: |-CXXRecordDecl {{.*}} struct B
|
||||
// CHECK: | |-CXXRecordDecl {{.*}} struct A
|
||||
// CHECK: | | |-CXXRecordDecl {{.*}} struct S
|
||||
// CHECK: | `-CXXRecordDecl {{.*}} struct A
|
||||
// CHECK: | |-CXXRecordDecl {{.*}} struct S
|
||||
// CHECK: |-NamespaceDecl {{.*}} A
|
||||
// CHECK: | |-CXXRecordDecl {{.*}} struct C
|
||||
// CHECK: | | |-CXXRecordDecl {{.*}} struct S
|
||||
|
@ -362,8 +362,7 @@ constexpr References ReferencesInstance;
|
||||
// CHECK: | |-FieldDecl {{.*}} k 'double &'
|
||||
// CHECK: | |-FieldDecl {{.*}} l 'unsigned long long &'
|
||||
// CHECK: | `-FieldDecl {{.*}} m 'long long &'
|
||||
// CHECK: |-VarDecl {{.*}} ReferencesInstance 'const References'
|
||||
// CHECK: `-<undeserialized declarations>
|
||||
// CHECK: `-VarDecl {{.*}} ReferencesInstance 'const References'
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
return 0;
|
||||
|
@ -870,8 +870,7 @@ const wchar_t &CRWCP = WCP;
|
||||
// CHECK-NEXT: |-VarDecl {{.*}} CRC16_24 'const char16_t &'
|
||||
// CHECK-NEXT: |-VarDecl {{.*}} CRC32_42 'const char32_t &'
|
||||
// CHECK-NEXT: |-VarDecl {{.*}} CRWC1 'const wchar_t &'
|
||||
// CHECK-NEXT: |-VarDecl {{.*}} CRWCP 'const wchar_t &'
|
||||
// CHECK-NEXT: `-<undeserialized declarations>
|
||||
// CHECK-NEXT: `-VarDecl {{.*}} CRWCP 'const wchar_t &'
|
||||
|
||||
// CHECK: (lldb) quit
|
||||
|
||||
|
@ -156,6 +156,6 @@ int main(int argc, char **argv) {
|
||||
// CHECK-NEXT: |-FunctionDecl {{.*}} main 'int (int, char **)'
|
||||
// CHECK-NEXT: | |-ParmVarDecl {{.*}} argc 'int'
|
||||
// CHECK-NEXT: | `-ParmVarDecl {{.*}} argv 'char **'
|
||||
// CHECK-NEXT: |-FunctionDecl {{.*}} Function 'int (int, char)'
|
||||
// CHECK-NEXT: | |-ParmVarDecl {{.*}} Param1 'int'
|
||||
// CHECK-NEXT: | `-ParmVarDecl {{.*}} Param2 'char'
|
||||
// CHECK-NEXT: `-FunctionDecl {{.*}} Function 'int (int, char)'
|
||||
// CHECK-NEXT: |-ParmVarDecl {{.*}} Param1 'int'
|
||||
// CHECK-NEXT: `-ParmVarDecl {{.*}} Param2 'char'
|
||||
|
Loading…
Reference in New Issue
Block a user