public class ClangCompilationDatabase
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ClangCompilationDatabase.Functions
Contains the function pointers loaded from
ClangIndex.getLibrary(). |
| Modifier and Type | Field and Description |
|---|---|
static int |
CXCompilationDatabase_CanNotLoadDatabase
Error codes for Compilation Database
|
static int |
CXCompilationDatabase_NoError
Error codes for Compilation Database
|
| Modifier and Type | Method and Description |
|---|---|
static void |
clang_CompilationDatabase_dispose(long database)
Free the given compilation database
|
static long |
clang_CompilationDatabase_fromDirectory(java.nio.ByteBuffer BuildDir,
java.nio.IntBuffer ErrorCode)
Creates a compilation database from the database found in directory buildDir.
|
static long |
clang_CompilationDatabase_fromDirectory(java.lang.CharSequence BuildDir,
java.nio.IntBuffer ErrorCode)
Creates a compilation database from the database found in directory buildDir.
|
static long |
clang_CompilationDatabase_getAllCompileCommands(long database)
Get all the compile commands in the given compilation database.
|
static long |
clang_CompilationDatabase_getCompileCommands(long database,
java.nio.ByteBuffer CompleteFileName)
Find the compile commands used for a file.
|
static long |
clang_CompilationDatabase_getCompileCommands(long database,
java.lang.CharSequence CompleteFileName)
Find the compile commands used for a file.
|
static CXString |
clang_CompileCommand_getArg(long command,
int I,
CXString __result)
Get the I'th argument value in the compiler invocations
|
static CXString |
clang_CompileCommand_getDirectory(long command,
CXString __result)
Get the working directory where the CompileCommand was executed from
|
static CXString |
clang_CompileCommand_getFilename(long command,
CXString __result)
Get the filename associated with the CompileCommand.
|
static CXString |
clang_CompileCommand_getMappedSourceContent(long command,
int I,
CXString __result)
Get the I'th mapped source content for the compiler invocation.
|
static CXString |
clang_CompileCommand_getMappedSourcePath(long command,
int I,
CXString __result)
Get the I'th mapped source path for the compiler invocation.
|
static int |
clang_CompileCommand_getNumArgs(long command)
Get the number of arguments in the compiler invocation.
|
static int |
clang_CompileCommand_getNumMappedSources(long command)
Get the number of source mappings for the compiler invocation.
|
static void |
clang_CompileCommands_dispose(long commands)
Free the given CompileCommands
|
static long |
clang_CompileCommands_getCommand(long commands,
int I)
Get the I'th CompileCommand for a file
|
static int |
clang_CompileCommands_getSize(long commands)
Get the number of CompileCommand we have for a file
|
static long |
nclang_CompilationDatabase_fromDirectory(long BuildDir,
long ErrorCode)
Unsafe version of:
CompilationDatabase_fromDirectory |
static long |
nclang_CompilationDatabase_getCompileCommands(long database,
long CompleteFileName)
Unsafe version of:
CompilationDatabase_getCompileCommands |
static void |
nclang_CompileCommand_getArg(long command,
int I,
long __result)
Unsafe version of:
CompileCommand_getArg |
static void |
nclang_CompileCommand_getArg(long command,
int I,
long __functionAddress,
long __result)
Unsafe version of:
CompileCommand_getArg |
static void |
nclang_CompileCommand_getDirectory(long command,
long __result)
Unsafe version of:
CompileCommand_getDirectory |
static void |
nclang_CompileCommand_getDirectory(long command,
long __functionAddress,
long __result)
Unsafe version of:
CompileCommand_getDirectory |
static void |
nclang_CompileCommand_getFilename(long command,
long __result)
Unsafe version of:
CompileCommand_getFilename |
static void |
nclang_CompileCommand_getFilename(long command,
long __functionAddress,
long __result)
Unsafe version of:
CompileCommand_getFilename |
static void |
nclang_CompileCommand_getMappedSourceContent(long command,
int I,
long __result)
Unsafe version of:
CompileCommand_getMappedSourceContent |
static void |
nclang_CompileCommand_getMappedSourceContent(long command,
int I,
long __functionAddress,
long __result)
Unsafe version of:
CompileCommand_getMappedSourceContent |
static void |
nclang_CompileCommand_getMappedSourcePath(long command,
int I,
long __result)
Unsafe version of:
CompileCommand_getMappedSourcePath |
static void |
nclang_CompileCommand_getMappedSourcePath(long command,
int I,
long __functionAddress,
long __result)
Unsafe version of:
CompileCommand_getMappedSourcePath |
public static final int CXCompilationDatabase_NoError
(CXCompilationDatabase_Error)
CompilationDatabase_NoError - No error occurredCompilationDatabase_CanNotLoadDatabase - Database can not be loadedpublic static final int CXCompilationDatabase_CanNotLoadDatabase
(CXCompilationDatabase_Error)
CompilationDatabase_NoError - No error occurredCompilationDatabase_CanNotLoadDatabase - Database can not be loadedpublic static long nclang_CompilationDatabase_fromDirectory(long BuildDir,
long ErrorCode)
CompilationDatabase_fromDirectorypublic static long clang_CompilationDatabase_fromDirectory(java.nio.ByteBuffer BuildDir,
java.nio.IntBuffer ErrorCode)
It must be freed by clang_CompilationDatabase_dispose.
public static long clang_CompilationDatabase_fromDirectory(java.lang.CharSequence BuildDir,
java.nio.IntBuffer ErrorCode)
It must be freed by clang_CompilationDatabase_dispose.
public static void clang_CompilationDatabase_dispose(long database)
public static long nclang_CompilationDatabase_getCompileCommands(long database,
long CompleteFileName)
CompilationDatabase_getCompileCommandspublic static long clang_CompilationDatabase_getCompileCommands(long database,
java.nio.ByteBuffer CompleteFileName)
clang_CompileCommands_dispose.public static long clang_CompilationDatabase_getCompileCommands(long database,
java.lang.CharSequence CompleteFileName)
clang_CompileCommands_dispose.public static long clang_CompilationDatabase_getAllCompileCommands(long database)
public static void clang_CompileCommands_dispose(long commands)
public static int clang_CompileCommands_getSize(long commands)
public static long clang_CompileCommands_getCommand(long commands,
int I)
Note : 0 <= i <clang_CompileCommands_getSize(CXCompileCommands)
public static void nclang_CompileCommand_getDirectory(long command,
long __functionAddress,
long __result)
CompileCommand_getDirectorypublic static void nclang_CompileCommand_getDirectory(long command,
long __result)
CompileCommand_getDirectorypublic static CXString clang_CompileCommand_getDirectory(long command, CXString __result)
public static void nclang_CompileCommand_getFilename(long command,
long __functionAddress,
long __result)
CompileCommand_getFilenamepublic static void nclang_CompileCommand_getFilename(long command,
long __result)
CompileCommand_getFilenamepublic static CXString clang_CompileCommand_getFilename(long command, CXString __result)
public static int clang_CompileCommand_getNumArgs(long command)
public static void nclang_CompileCommand_getArg(long command,
int I,
long __functionAddress,
long __result)
CompileCommand_getArgpublic static void nclang_CompileCommand_getArg(long command,
int I,
long __result)
CompileCommand_getArgpublic static CXString clang_CompileCommand_getArg(long command, int I, CXString __result)
Invariant :
public static int clang_CompileCommand_getNumMappedSources(long command)
public static void nclang_CompileCommand_getMappedSourcePath(long command,
int I,
long __functionAddress,
long __result)
CompileCommand_getMappedSourcePathpublic static void nclang_CompileCommand_getMappedSourcePath(long command,
int I,
long __result)
CompileCommand_getMappedSourcePathpublic static CXString clang_CompileCommand_getMappedSourcePath(long command, int I, CXString __result)
public static void nclang_CompileCommand_getMappedSourceContent(long command,
int I,
long __functionAddress,
long __result)
CompileCommand_getMappedSourceContentpublic static void nclang_CompileCommand_getMappedSourceContent(long command,
int I,
long __result)
CompileCommand_getMappedSourceContentCopyright LWJGL. All Rights Reserved. License terms.