Bitfields
This commit is contained in:
@@ -2,5 +2,6 @@ FileVersion = 1
|
||||
|
||||
[Project]
|
||||
Name = "Clang-C"
|
||||
TargetType = "BeefLib"
|
||||
StartupObject = "LibClang.Program"
|
||||
DefaultNamespace = "LibClang"
|
||||
|
||||
20
src/Index.bf
20
src/Index.bf
@@ -387,16 +387,17 @@ extension Clang
|
||||
/**
|
||||
* \see clang_createIndex()
|
||||
*/
|
||||
public c_uint ExcludeDeclarationsFromPCH;
|
||||
[Bitfield(.Public , .Bits(1), "ExcludeDeclarationsFromPCH")]
|
||||
/**
|
||||
* \see clang_createIndex()
|
||||
*/
|
||||
public c_uint DisplayDiagnostics;
|
||||
[Bitfield(.Public , .Bits(1), "DisplayDiagnostics")]
|
||||
/**
|
||||
* Store PCH in memory. If zero, PCH are stored in temporary files.
|
||||
*/
|
||||
public c_uint StorePreamblesInMemory;
|
||||
public c_uint ;
|
||||
[Bitfield(.Public , .Bits(1), "StorePreamblesInMemory")]
|
||||
[Bitfield(.Private, .Bits(13), "__anon_bitfield_7B23BCE7")]
|
||||
private c_uint __bitfield_8BA7CB00;
|
||||
|
||||
/**
|
||||
* The path to a directory, in which to store temporary PCH files. If null or
|
||||
@@ -5171,7 +5172,7 @@ extension Clang
|
||||
[Import(Clang.dll)] [LinkName("clang_getCursorKindSpelling")] public static extern CXString GetCursorKindSpelling(CXCursorKind Kind);
|
||||
[Import(Clang.dll)] [LinkName("clang_getDefinitionSpellingAndExtent")] public static extern void GetDefinitionSpellingAndExtent(CXCursor, c_char** startBuf, c_char** endBuf, c_uint* startLine, c_uint* startColumn, c_uint* endLine, c_uint* endColumn);
|
||||
[Import(Clang.dll)] [LinkName("clang_enableStackTraces")] public static extern void EnableStackTraces();
|
||||
[Import(Clang.dll)] [LinkName("clang_executeOnThread")] public static extern void ExecuteOnThread(function void(void* *) fn, void* user_data, c_uint stack_size);
|
||||
[Import(Clang.dll)] [LinkName("clang_executeOnThread")] public static extern void ExecuteOnThread(function void(void*) fn, void* user_data, c_uint stack_size);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -6523,7 +6524,7 @@ public struct CXIdxClientASTFile : this(void* ptr);
|
||||
/**
|
||||
* Called when a file gets \#included/\#imported.
|
||||
*/
|
||||
public function CXIdxClientFile(CXClientData client_data, CXIdxIncludedFileInfo* *) ppIncludedFile;
|
||||
public function CXIdxClientFile(CXClientData client_data, CXIdxIncludedFileInfo*) ppIncludedFile;
|
||||
|
||||
/**
|
||||
* Called when a AST file (PCH or module) gets imported.
|
||||
@@ -6533,19 +6534,19 @@ public struct CXIdxClientASTFile : this(void* ptr);
|
||||
* file is not already indexed, to initiate a new indexing job specific to
|
||||
* the AST file.
|
||||
*/
|
||||
public function CXIdxClientASTFile(CXClientData client_data, CXIdxImportedASTFileInfo* *) importedASTFile;
|
||||
public function CXIdxClientASTFile(CXClientData client_data, CXIdxImportedASTFileInfo*) importedASTFile;
|
||||
|
||||
/**
|
||||
* Called at the beginning of indexing a translation unit.
|
||||
*/
|
||||
public function CXIdxClientContainer(CXClientData client_data, void* reserved) startedTranslationUnit;
|
||||
|
||||
public function void(CXClientData client_data, CXIdxDeclInfo* *) indexDeclaration;
|
||||
public function void(CXClientData client_data, CXIdxDeclInfo*) indexDeclaration;
|
||||
|
||||
/**
|
||||
* Called to index a reference of an entity.
|
||||
*/
|
||||
public function void(CXClientData client_data, CXIdxEntityRefInfo* *) indexEntityReference;
|
||||
public function void(CXClientData client_data, CXIdxEntityRefInfo*) indexEntityReference;
|
||||
|
||||
}
|
||||
|
||||
@@ -6939,6 +6940,7 @@ extension Clang
|
||||
Extension,
|
||||
/** C++ co_await operator. */
|
||||
Coawait,
|
||||
Last = Coawait,
|
||||
}
|
||||
|
||||
extension Clang
|
||||
|
||||
Reference in New Issue
Block a user