reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | // RUN: c-index-test -test-print-type %s | FileCheck --check-prefix=CHECK-TYPE %s // RUN: c-index-test -test-print-type-declaration %s | FileCheck --check-prefix=CHECK-TYPEDECL %s // CHECK-TYPE: VarDecl=VariableWithParentheses: // CHECK-TYPE-SAME: [type=int] [typekind=Int] // CHECK-TYPE-NOT: canonicaltype // CHECK-TYPE-SAME: isPOD extern int (VariableWithParentheses); typedef int MyTypedef; // CHECK-TYPE: VarDecl=VariableWithParentheses2: // CHECK-TYPE-SAME: [type=MyTypedef] [typekind=Typedef] // CHECK-TYPE-SAME: [canonicaltype=int] [canonicaltypekind=Int] // CHECK-TYPEDECL: VarDecl=VariableWithParentheses2 // CHECK-TYPEDECL-SAME: [typedeclaration=MyTypedef] [typekind=Typedef] extern MyTypedef (VariableWithParentheses2); |