func (cd CompilationDatabase) AllCompileCommands() CompileCommands {
	return CompileCommands{C.clang_CompilationDatabase_getAllCompileCommands(cd.c)}
}
Get all the compile commands in the given compilation database.
package clang
import "C"
import "unsafe"
type CompilationDatabase struct {
	c C.CXCompilationDatabase
}
func FromDirectory(buildDir string) (CompilationDatabase_Error, CompilationDatabase) {
	var errorCode C.CXCompilationDatabase_Error
	c_buildDir := C.CString(buildDir)
	defer C.free(unsafe.Pointer(c_buildDir))
	o := CompilationDatabase{C.clang_CompilationDatabase_fromDirectory(c_buildDir, &errorCode)}
	return CompilationDatabase_Error(errorCode), o
}
func (cd CompilationDatabase) Dispose() {
	C.clang_CompilationDatabase_dispose(cd.c)
}
func (cd CompilationDatabase) CompileCommands(completeFileName string) CompileCommands {
	c_completeFileName := C.CString(completeFileName)
	defer C.free(unsafe.Pointer(c_completeFileName))
	return CompileCommands{C.clang_CompilationDatabase_getCompileCommands(cd.c, c_completeFileName)}
}