llvm/clang/tools/libclang/CXCompilationDatabase.cpp

#include "clang-c/CXCompilationDatabase.h"
#include "CXString.h"
#include "clang/Tooling/CompilationDatabase.h"
#include <cstdio>

usingnamespaceclang;
usingnamespaceclang::tooling;

// FIXME: do something more useful with the error message
CXCompilationDatabase
clang_CompilationDatabase_fromDirectory(const char *BuildDir,
                                        CXCompilationDatabase_Error *ErrorCode)
{}

void
clang_CompilationDatabase_dispose(CXCompilationDatabase CDb)
{}

struct AllocatedCXCompileCommands
{};

CXCompileCommands
clang_CompilationDatabase_getCompileCommands(CXCompilationDatabase CDb,
                                             const char *CompleteFileName)
{}

CXCompileCommands
clang_CompilationDatabase_getAllCompileCommands(CXCompilationDatabase CDb) {}

void
clang_CompileCommands_dispose(CXCompileCommands Cmds)
{}

unsigned
clang_CompileCommands_getSize(CXCompileCommands Cmds)
{}

CXCompileCommand
clang_CompileCommands_getCommand(CXCompileCommands Cmds, unsigned I)
{}

CXString
clang_CompileCommand_getDirectory(CXCompileCommand CCmd)
{}

CXString
clang_CompileCommand_getFilename(CXCompileCommand CCmd)
{}

unsigned
clang_CompileCommand_getNumArgs(CXCompileCommand CCmd)
{}

CXString
clang_CompileCommand_getArg(CXCompileCommand CCmd, unsigned Arg)
{}

unsigned
clang_CompileCommand_getNumMappedSources(CXCompileCommand CCmd)
{}

CXString
clang_CompileCommand_getMappedSourcePath(CXCompileCommand CCmd, unsigned I)
{}

CXString
clang_CompileCommand_getMappedSourceContent(CXCompileCommand CCmd, unsigned I)
{}