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

Lines Matching defs:db

3329     CXCompilationDatabase db = 0;
3347 db = clang_CompilationDatabase_fromDirectory(buildDir, &ec);
3349 if (db) {
3363 CCmds = clang_CompilationDatabase_getAllCompileCommands(db);
3365 printf("compilation db is empty\n");
3413 clang_CompilationDatabase_dispose(db);
3585 CXCompilationDatabase db;
3602 db = clang_CompilationDatabase_fromDirectory(buildDir, &ec);
3604 if (db) {
3614 CCmds = clang_CompilationDatabase_getCompileCommands(db, argv[i+1]);
3617 printf("file %s not found in compilation db\n", argv[i+1]);
3654 clang_CompilationDatabase_dispose(db);
4093 " c-index-test -index-compile-db [-check-prefix=<FileCheck prefix>] <compilation database>\n"
4123 " c-index-test -compilation-db [lookup <filename>] database\n");
4162 if (argc > 2 && strcmp(argv[1], "-index-compile-db") == 0)
4231 else if (argc > 2 && strcmp(argv[1], "-compilation-db") == 0)