Home | History | Annotate | Download | only in c-index-test

Lines Matching defs:contexts

1896 void print_completion_contexts(unsigned long long contexts, FILE *file) {
1897 fprintf(file, "Completion contexts:\n");
1898 if (contexts == CXCompletionContext_Unknown) {
1901 if (contexts & CXCompletionContext_AnyType) {
1904 if (contexts & CXCompletionContext_AnyValue) {
1907 if (contexts & CXCompletionContext_ObjCObjectValue) {
1910 if (contexts & CXCompletionContext_ObjCSelectorValue) {
1913 if (contexts & CXCompletionContext_CXXClassTypeValue) {
1916 if (contexts & CXCompletionContext_DotMemberAccess) {
1919 if (contexts & CXCompletionContext_ArrowMemberAccess) {
1922 if (contexts & CXCompletionContext_ObjCPropertyAccess) {
1925 if (contexts & CXCompletionContext_EnumTag) {
1928 if (contexts & CXCompletionContext_UnionTag) {
1931 if (contexts & CXCompletionContext_StructTag) {
1934 if (contexts & CXCompletionContext_ClassTag) {
1937 if (contexts & CXCompletionContext_Namespace) {
1940 if (contexts & CXCompletionContext_NestedNameSpecifier) {
1943 if (contexts & CXCompletionContext_ObjCInterface) {
1946 if (contexts & CXCompletionContext_ObjCProtocol) {
1949 if (contexts & CXCompletionContext_ObjCCategory) {
1952 if (contexts & CXCompletionContext_ObjCInstanceMessage) {
1955 if (contexts & CXCompletionContext_ObjCClassMessage) {
1958 if (contexts & CXCompletionContext_ObjCSelectorName) {
1961 if (contexts & CXCompletionContext_MacroName) {
1964 if (contexts & CXCompletionContext_NaturalLanguage) {
2059 unsigned long long contexts;
2077 contexts = clang_codeCompleteGetContexts(results);
2078 print_completion_contexts(contexts, stdout);