• Home
  • Raw
  • Download

Lines Matching +full:libclang +full:- +full:version

1 // SPDX-License-Identifier: Apache-2.0
3 //! Rust bindings for `libclang`.
5 //! ## [Documentation](https://docs.rs/clang-sys)
9 //! supported version of `libclang` (e.g., `clang_11_0`), neither of which are
14 //! `libclang` instance at runtime.
16 //! Due to the usage of the Cargo feature for the latest supported version of
17 //! `libclang`, this documentation will contain constants and functions that are
18 //! not available in the oldest supported version of `libclang` (3.5). All of
20 //! minimum `libclang` version required to use the item.
23 #![cfg_attr(feature = "cargo-clippy", allow(clippy::unreadable_literal))]
40 pub type CXCursorVisitor = extern "C" fn(CXCursor, CXCursor, CXClientData) -> CXChildVisitResult;
42 pub type CXFieldVisitor = extern "C" fn(CXCursor, CXClientData) -> CXVisitorResult;
86 fn default() -> $ty {
94 fn default() -> $ty {
115 /// Only available on `libclang` 17.0 and later.
165 /// Only produced by `libclang` 4.0 and later.
171 /// Only produced by `libclang` 3.6 and later.
173 /// Only produced by `libclang` 3.9 and later.
175 /// Only produced by `libclang` 3.9 and later.
177 /// Only produced by `libclang` 3.9 and later.
179 /// Only produced by `libclang` 8.0 and later.
183 /// Only produced by `libclang` 13.0 and later.
185 /// Only produced by `libclang` 15.0 and later.
200 /// Only available on `libclang` 17.0 and later.
380 /// Only produced by `libclang` 3.8 and later.
382 /// Only produced by `libclang` 3.9 and later.
384 /// Only produced by `libclang` 7.0 and later.
386 /// Only produced by `libclang` 12.0 and later.
388 /// Only produced by `libclang` 12.0 and later.
390 /// Only produced by `libclang` 12.0 and later.
392 /// Only produced by `libclang` 15.0 and later.
394 /// Only produced by `libclang` 15.0 and later.
396 /// Only produced by `libclang` 16.0 and later.
447 /// Only produced by `libclang` 3.6 and later.
449 /// Only produced by `libclang` 3.6 and later.
451 /// Only produced by `libclang` 3.6 and later.
453 /// Only produced by `libclang` 3.6 and later.
455 /// Only produced by `libclang` 3.6 and later.
457 /// Only produced by `libclang` 3.6 and later.
459 /// Only produced by `libclang` 3.7 and later.
461 /// Only produced by `libclang` 3.7 and later.
463 /// Only produced by `libclang` 3.7 and later.
465 /// Only produced by `libclang` 3.8 and later.
467 /// Only produced by `libclang` 3.8 and later.
469 /// Only produced by `libclang` 3.8 and later.
471 /// Only produced by `libclang` 3.8 and later.
473 /// Only produced by `libclang` 3.9 and later.
475 /// Only produced by `libclang` 3.9 and later.
477 /// Only produced by `libclang` 3.9 and later.
479 /// Only produced by `libclang` 3.9 and later.
481 /// Only produced by `libclang` 3.9 and later.
483 /// Only produced by `libclang` 3.9 and later.
485 /// Only produced by `libclang` 3.9 and later.
487 /// Only produced by `libclang` 3.9 and later.
489 /// Only produced by `libclang` 3.9 and later.
491 /// Only produced by `libclang` 4.0 and later.
493 /// Only produced by `libclang` 4.0 and later.
495 /// Only produced by `libclang` 4.0 and later.
497 /// Only produced by `libclang` 4.0 and later.
499 /// Only produced by `libclang` 4.0 and later.
501 /// Only produced by `libclang` 4.0 and later.
503 /// Only produced by `libclang` 4.0 and later.
505 /// Only produced by `libclang` 4.0 and later.
507 /// Only produced by `libclang` 4.0 and later.
509 /// Only producer by `libclang` 4.0 and later.
511 /// Only produced by 'libclang' 9.0 and later.
513 /// Only produced by `libclang` 10.0 and later.
515 /// Only produced by `libclang` 10.0 and later.
517 /// Only produced by `libclang` 10.0 and later.
519 /// Only produced by `libclang` 10.0 and later.
521 /// Only produced by `libclang` 10.0 and later.
523 /// Only produced by `libclang` 11.0 and later.
525 /// Only produced by `libclang` 11.0 and later.
527 /// Only produced by `libclang` 13.0 and later.
529 /// Only produced by `libclang` 13.0 and later.
531 /// Only produced by `libclang` 13.0 and later.
533 /// Only produced by `libclang` 13.0 and later.
535 /// Only produced by `libclang` 13.0 and later.
537 /// Only produced by `libclang` 13.0 and later.
539 /// Only produced by `libclang` 14.0 and later.
541 /// Only produced by `libclang` 14.0 and later.
543 /// Only produced by `libclang` 15.0 and later.
545 /// Only produced by `libclang` 15.0 and later.
547 /// Only produced by `libclang` 15.0 and later.
549 /// Only produced by `libclang` 15.0 and later.
551 /// Only produced by `libclang` 15.0 and later.
553 /// Only produced by `libclang` 15.0 and later.
555 /// Only produced by `libclang` 15.0 and later.
557 /// Only produced by `libclang` 15.0 and later.
559 /// Only produced by `libclang` 15.0 and later.
561 /// Only produced by `libclang` 16.0 and later.
583 /// Only produced by `libclang` 3.6 and later.
585 /// Only produced by `libclang` 3.8 and later.
587 /// Only produced by `libclang` 3.8 and later.
589 /// Only produced by `libclang` 3.8 and later.
591 /// Only produced by `libclang` 8.0 and later.
593 /// Only produced by `libclang` 8.0 and later.
595 /// Only produced by `libclang` 8.0 and later.
597 /// Only produced by `libclang` 8.0 and later.
599 /// Only produced by `libclang` 8.0 and later.
601 /// Only produced by `libclang` 8.0 and later.
603 /// Only produced by `libclang` 8.0 and later.
605 /// Only produced by `libclang` 8.0 and later.
607 /// Only produced by `libclang` 8.0 and later.
609 /// Only produced by `libclang` 8.0 and later.
611 /// Only produced by `libclang` 8.0 and later.
613 /// Only produced by `libclang` 8.0 and later.
615 /// Only produced by `libclang` 8.0 and later.
617 /// Only produced by `libclang` 8.0 and later.
619 /// Only produced by `libclang` 8.0 and later.
621 /// Only produced by `libclang` 8.0 and later.
623 /// Only produced by `libclang` 8.0 and later.
625 /// Only produced by `libclang` 8.0 and later.
627 /// Only produced by `libclang` 9.0 and later.
629 /// Only produced by `libclang` 9.0 and later.
631 /// Only produced by `libclang` 9.0 and later.
633 /// Only produced by `libclang` 9.0 and later.
641 /// Only produced by `libclang` 3.8 and later.
643 /// Only produced by `libclang` 3.9 and later.
645 /// Only produced by `libclang` 4.0 and later.
647 /// Only produced by `libclang` 15.0 and later.
649 /// Only produced by `libclang` 3.7 and later.
655 /// Only available on `libclang` 5.0 and later.
667 /// Only available on `libclang` 9.0 and later.
752 /// Only produced by `libclang` 15.0 and later.
763 /// Only produced by `libclang` 5.0 and later.
812 /// Only available on `libclang` 7.0 and later.
870 /// Only available on `libclang` 6.0 and later.
899 /// Only available on `libclang` 3.6 and later.
957 /// Only produced by `libclang` 3.9 and later.
959 /// Only produced by `libclang` 5.0 and later.
961 /// Only produced by `libclang` 6.0 and later.
963 /// Only produced by `libclang` 7.0 and later.
965 /// Only produced by `libclang` 7.0 and later.
967 /// Only produced by `libclang` 7.0 and later.
969 /// Only produced by `libclang` 7.0 and later.
971 /// Only produced by `libclang` 7.0 and later.
973 /// Only produced by `libclang` 7.0 and later.
975 /// Only produced by `libclang` 11.0 and later.
977 /// Only produced by `libclang` 14.0 and later.
997 /// Only produced by `libclang` 3.8 and later.
999 /// Only produced by `libclang` 3.9 and later.
1001 /// Only produced by `libclang` 5.0 and later.
1003 /// Only produced by `libclang` 5.0 and later.
1005 /// Only produced by `libclang` 5.0 and later.
1007 /// Only produced by `libclang` 5.0 and later.
1009 /// Only produced by `libclang` 5.0 and later.
1011 /// Only produced by `libclang` 5.0 and later.
1013 /// Only produced by `libclang` 5.0 and later.
1015 /// Only produced by `libclang` 5.0 and later.
1017 /// Only produced by `libclang` 5.0 and later.
1019 /// Only produced by `libclang` 5.0 and later.
1021 /// Only produced by `libclang` 5.0 and later.
1023 /// Only produced by `libclang` 5.0 and later.
1025 /// Only produced by `libclang` 5.0 and later.
1027 /// Only produced by `libclang` 5.0 and later.
1029 /// Only produced by `libclang` 5.0 and later.
1031 /// Only produced by `libclang` 5.0 and later.
1033 /// Only produced by `libclang` 5.0 and later.
1035 /// Only produced by `libclang` 5.0 and later.
1037 /// Only produced by `libclang` 5.0 and later.
1039 /// Only produced by `libclang` 5.0 and later.
1041 /// Only produced by `libclang` 5.0 and later.
1043 /// Only produced by `libclang` 5.0 and later.
1045 /// Only produced by `libclang` 5.0 and later.
1047 /// Only produced by `libclang` 5.0 and later.
1049 /// Only produced by `libclang` 5.0 and later.
1051 /// Only produced by `libclang` 5.0 and later.
1053 /// Only produced by `libclang` 5.0 and later.
1055 /// Only produced by `libclang` 5.0 and later.
1057 /// Only produced by `libclang` 5.0 and later.
1059 /// Only produced by `libclang` 5.0 and later.
1061 /// Only produced by `libclang` 5.0 and later.
1063 /// Only produced by `libclang` 5.0 and later.
1065 /// Only produced by `libclang` 5.0 and later.
1067 /// Only produced by `libclang` 5.0 and later.
1069 /// Only produced by `libclang` 5.0 and later.
1071 /// Only produced by `libclang` 5.0 and later.
1073 /// Only produced by `libclang` 5.0 and later.
1075 /// Only produced by `libclang` 5.0 and later.
1077 /// Only produced by `libclang` 5.0 and later.
1079 /// Only produced by `libclang` 5.0 and later.
1081 /// Only produced by `libclang` 5.0 and later.
1083 /// Only produced by `libclang` 8.0 and later.
1085 /// Only produced by `libclang` 8.0 and later.
1087 /// Only produced by `libclang` 8.0 and later.
1089 /// Only produced by `libclang` 8.0 and later.
1091 /// Only produced by `libclang` 8.0 and later.
1093 /// Only produced by `libclang` 8.0 and later.
1095 /// Only produced by `libclang` 8.0 and later.
1097 /// Only produced by `libclang` 8.0 and later.
1099 /// Only produced by `libclang` 8.0 and later.
1101 /// Only produced by `libclang` 8.0 and later.
1103 /// Only produced by `libclang` 8.0 and later.
1105 /// Only produced by `libclang` 8.0 and later.
1107 /// Only produced by `libclang` 8.0 and later.
1109 /// Only produced by `libclang` 8.0 and later.
1111 /// Only produced by `libclang` 8.0 and later.
1113 /// Only produced by `libclang` 9.0 and later.
1115 /// Only produced by `libclang` 11.0 and later.
1117 /// Only produced by `libclang` 15.0 and later.
1124 const CXTypeLayoutError_Invalid = -1,
1125 const CXTypeLayoutError_Incomplete = -2,
1126 const CXTypeLayoutError_Dependent = -3,
1127 const CXTypeLayoutError_NotConstantSize = -4,
1128 const CXTypeLayoutError_InvalidFieldName = -5,
1129 /// Only produced by `libclang` 9.0 and later.
1130 const CXTypeLayoutError_Undeduced = -6,
1135 /// Only available on `libclang` 3.8 and later.
1146 /// Only available on `libclang` 8.0 and later.
1153 /// Only produced by `libclang` 12.0 and later.
1159 /// Only available on `libclang` 17.0 and later.
1197 /// Only available on `libclang` 3.6 and later.
1292 /// Only available on `libclang` 17.0 and later.
1297 /// Only available on `libclang` 17.0 and later.
1302 /// Only available on `libclang` 17.0 and later.
1306 /// Only available on `libclang` 17.0 and later.
1310 /// Only available on `libclang` 17.0 and later.
1349 /// Only available on `libclang` 3.9 and later.
1368 /// Only available on `libclang` 7.0 and later.
1395 /// Only available on `libclang` 3.8 and later.
1398 /// Only available on `libclang` 3.9 and later.
1401 /// Only available on `libclang` 5.0 and later.
1404 /// Only available on `libclang` 7.0 and later.
1407 /// Only available on `libclang` 8.0 and later.
1410 /// Only available on `libclang` 8.0 and later.
1413 /// Only available on `libclang` 9.0 and later.
1416 /// Only available on `libclang` 10.0 and later.
1501 pub visit: Option<extern "C" fn(*mut c_void, CXCursor, CXSourceRange) -> CXVisitorResult>,
1596 /// Only available on `libclang` 7.0 and later.
1844 pub abortQuery: Option<extern "C" fn(CXClientData, *mut c_void) -> c_int>,
1846 … pub enteredMainFile: Option<extern "C" fn(CXClientData, CXFile, *mut c_void) -> CXIdxClientFile>,
1847 …pub ppIncludedFile: Option<extern "C" fn(CXClientData, *const CXIdxIncludedFileInfo) -> CXIdxClien…
1848 …pub importedASTFile: Option<extern "C" fn(CXClientData, *const CXIdxImportedASTFileInfo) -> CXIdxC…
1849 …pub startedTranslationUnit: Option<extern "C" fn(CXClientData, *mut c_void) -> CXIdxClientContaine…
1861 pub fn clang_CXCursorSet_contains(set: CXCursorSet, cursor: CXCursor) -> c_uint;
1862 pub fn clang_CXCursorSet_insert(set: CXCursorSet, cursor: CXCursor) -> c_uint;
1863 pub fn clang_CXIndex_getGlobalOptions(index: CXIndex) -> CXGlobalOptFlags;
1865 /// Only available on `libclang` 6.0 and later.
1868 /// Only available on `libclang` 3.9 and later.
1870 pub fn clang_CXXConstructor_isConvertingConstructor(cursor: CXCursor) -> c_uint;
1871 /// Only available on `libclang` 3.9 and later.
1873 pub fn clang_CXXConstructor_isCopyConstructor(cursor: CXCursor) -> c_uint;
1874 /// Only available on `libclang` 3.9 and later.
1876 pub fn clang_CXXConstructor_isDefaultConstructor(cursor: CXCursor) -> c_uint;
1877 /// Only available on `libclang` 3.9 and later.
1879 pub fn clang_CXXConstructor_isMoveConstructor(cursor: CXCursor) -> c_uint;
1880 /// Only available on `libclang` 3.8 and later.
1882 pub fn clang_CXXField_isMutable(cursor: CXCursor) -> c_uint;
1883 pub fn clang_CXXMethod_isConst(cursor: CXCursor) -> c_uint;
1884 /// Only available on `libclang` 16.0 and later.
1886 pub fn clang_CXXMethod_isCopyAssignmentOperator(cursor: CXCursor) -> c_uint;
1887 /// Only available on `libclang` 3.9 and later.
1889 pub fn clang_CXXMethod_isDefaulted(cursor: CXCursor) -> c_uint;
1890 /// Only available on `libclang` 16.0 and later.
1892 pub fn clang_CXXMethod_isDeleted(cursor: CXCursor) -> c_uint;
1893 /// Only available on `libclang` 16.0 and later.
1895 pub fn clang_CXXMethod_isMoveAssignmentOperator(cursor: CXCursor) -> c_uint;
1896 pub fn clang_CXXMethod_isPureVirtual(cursor: CXCursor) -> c_uint;
1897 pub fn clang_CXXMethod_isStatic(cursor: CXCursor) -> c_uint;
1898 pub fn clang_CXXMethod_isVirtual(cursor: CXCursor) -> c_uint;
1899 /// Only available on `libclang` 17.0 and later.
1901 pub fn clang_CXXMethod_isExplicit(cursor: CXCursor) -> c_uint;
1902 /// Only available on `libclang` 6.0 and later.
1904 pub fn clang_CXXRecord_isAbstract(cursor: CXCursor) -> c_uint;
1906 …irectory(directory: *const c_char, error: *mut CXCompilationDatabase_Error) -> CXCompilationDataba…
1907 …pub fn clang_CompilationDatabase_getAllCompileCommands(database: CXCompilationDatabase) -> CXCompi…
1908 …_getCompileCommands(database: CXCompilationDatabase, filename: *const c_char) -> CXCompileCommands;
1909 pub fn clang_CompileCommand_getArg(command: CXCompileCommand, index: c_uint) -> CXString;
1910 pub fn clang_CompileCommand_getDirectory(command: CXCompileCommand) -> CXString;
1911 /// Only available on `libclang` 3.8 and later.
1913 pub fn clang_CompileCommand_getFilename(command: CXCompileCommand) -> CXString;
1914 /// Only available on `libclang` 3.8 and later.
1916 …pub fn clang_CompileCommand_getMappedSourceContent(command: CXCompileCommand, index: c_uint) -> CX…
1917 /// Only available on `libclang` 3.8 and later.
1919 …pub fn clang_CompileCommand_getMappedSourcePath(command: CXCompileCommand, index: c_uint) -> CXStr…
1920 pub fn clang_CompileCommand_getNumArgs(command: CXCompileCommand) -> c_uint;
1921 pub fn clang_CompileCommand_getNumMappedSources(command: CXCompileCommand) -> c_uint;
1923 …pub fn clang_CompileCommands_getCommand(command: CXCompileCommands, index: c_uint) -> CXCompileCom…
1924 pub fn clang_CompileCommands_getSize(command: CXCompileCommands) -> c_uint;
1925 /// Only available on `libclang` 3.9 and later.
1927 pub fn clang_Cursor_Evaluate(cursor: CXCursor) -> CXEvalResult;
1928 pub fn clang_Cursor_getArgument(cursor: CXCursor, index: c_uint) -> CXCursor;
1929 pub fn clang_Cursor_getBriefCommentText(cursor: CXCursor) -> CXString;
1930 /// Only available on `libclang` 3.8 and later.
1932 pub fn clang_Cursor_getCXXManglings(cursor: CXCursor) -> *mut CXStringSet;
1933 pub fn clang_Cursor_getCommentRange(cursor: CXCursor) -> CXSourceRange;
1934 /// Only available on `libclang` 3.6 and later.
1936 pub fn clang_Cursor_getMangling(cursor: CXCursor) -> CXString;
1937 pub fn clang_Cursor_getModule(cursor: CXCursor) -> CXModule;
1938 pub fn clang_Cursor_getNumArguments(cursor: CXCursor) -> c_int;
1939 /// Only available on `libclang` 3.6 and later.
1941 pub fn clang_Cursor_getNumTemplateArguments(cursor: CXCursor) -> c_int;
1942 pub fn clang_Cursor_getObjCDeclQualifiers(cursor: CXCursor) -> CXObjCDeclQualifierKind;
1943 /// Only available on `libclang` 6.0 and later.
1945 pub fn clang_Cursor_getObjCManglings(cursor: CXCursor) -> *mut CXStringSet;
1946 …pub fn clang_Cursor_getObjCPropertyAttributes(cursor: CXCursor, reserved: c_uint) -> CXObjCPropert…
1947 /// Only available on `libclang` 8.0 and later.
1949 pub fn clang_Cursor_getObjCPropertyGetterName(cursor: CXCursor) -> CXString;
1950 /// Only available on `libclang` 8.0 and later.
1952 pub fn clang_Cursor_getObjCPropertySetterName(cursor: CXCursor) -> CXString;
1953 pub fn clang_Cursor_getObjCSelectorIndex(cursor: CXCursor) -> c_int;
1954 /// Only available on `libclang` 3.7 and later.
1956 pub fn clang_Cursor_getOffsetOfField(cursor: CXCursor) -> c_longlong;
1957 pub fn clang_Cursor_getRawCommentText(cursor: CXCursor) -> CXString;
1958 pub fn clang_Cursor_getReceiverType(cursor: CXCursor) -> CXType;
1959 …pub fn clang_Cursor_getSpellingNameRange(cursor: CXCursor, index: c_uint, reserved: c_uint) -> CXS…
1960 /// Only available on `libclang` 3.6 and later.
1962 pub fn clang_Cursor_getStorageClass(cursor: CXCursor) -> CX_StorageClass;
1963 /// Only available on `libclang` 3.6 and later.
1965 …pub fn clang_Cursor_getTemplateArgumentKind(cursor: CXCursor, index: c_uint) -> CXTemplateArgument…
1966 /// Only available on `libclang` 3.6 and later.
1968 pub fn clang_Cursor_getTemplateArgumentType(cursor: CXCursor, index: c_uint) -> CXType;
1969 /// Only available on `libclang` 3.6 and later.
1971 …pub fn clang_Cursor_getTemplateArgumentUnsignedValue(cursor: CXCursor, index: c_uint) -> c_ulonglo…
1972 /// Only available on `libclang` 3.6 and later.
1974 pub fn clang_Cursor_getTemplateArgumentValue(cursor: CXCursor, index: c_uint) -> c_longlong;
1975 pub fn clang_Cursor_getTranslationUnit(cursor: CXCursor) -> CXTranslationUnit;
1976 /// Only available on `libclang` 12.0 and later.
1978 pub fn clang_Cursor_getVarDeclInitializer(cursor: CXCursor) -> CXCursor;
1979 /// Only available on `libclang` 3.9 and later.
1981 pub fn clang_Cursor_hasAttrs(cursor: CXCursor) -> c_uint;
1982 /// Only available on `libclang` 12.0 and later.
1984 pub fn clang_Cursor_hasVarDeclGlobalStorage(cursor: CXCursor) -> c_uint;
1985 /// Only available on `libclang` 12.0 and later.
1987 pub fn clang_Cursor_hasVarDeclExternalStorage(cursor: CXCursor) -> c_uint;
1988 /// Only available on `libclang` 3.7 and later.
1990 pub fn clang_Cursor_isAnonymous(cursor: CXCursor) -> c_uint;
1991 /// Only available on `libclang` 9.0 and later.
1993 pub fn clang_Cursor_isAnonymousRecordDecl(cursor: CXCursor) -> c_uint;
1994 pub fn clang_Cursor_isBitField(cursor: CXCursor) -> c_uint;
1995 pub fn clang_Cursor_isDynamicCall(cursor: CXCursor) -> c_int;
1996 /// Only available on `libclang` 5.0 and later.
1998 …(cursor: CXCursor, language: *mut CXString, from: *mut CXString, generated: *mut c_uint) -> c_uint;
1999 /// Only available on `libclang` 3.9 and later.
2001 pub fn clang_Cursor_isFunctionInlined(cursor: CXCursor) -> c_uint;
2002 /// Only available on `libclang` 9.0 and later.
2004 pub fn clang_Cursor_isInlineNamespace(cursor: CXCursor) -> c_uint;
2005 /// Only available on `libclang` 3.9 and later.
2007 pub fn clang_Cursor_isMacroBuiltin(cursor: CXCursor) -> c_uint;
2008 /// Only available on `libclang` 3.9 and later.
2010 pub fn clang_Cursor_isMacroFunctionLike(cursor: CXCursor) -> c_uint;
2011 pub fn clang_Cursor_isNull(cursor: CXCursor) -> c_int;
2012 pub fn clang_Cursor_isObjCOptional(cursor: CXCursor) -> c_uint;
2013 pub fn clang_Cursor_isVariadic(cursor: CXCursor) -> c_uint;
2014 /// Only available on `libclang` 5.0 and later.
2016 pub fn clang_EnumDecl_isScoped(cursor: CXCursor) -> c_uint;
2017 /// Only available on `libclang` 3.9 and later.
2020 /// Only available on `libclang` 3.9 and later.
2022 pub fn clang_EvalResult_getAsDouble(result: CXEvalResult) -> libc::c_double;
2023 /// Only available on `libclang` 3.9 and later.
2025 pub fn clang_EvalResult_getAsInt(result: CXEvalResult) -> c_int;
2026 /// Only available on `libclang` 4.0 and later.
2028 pub fn clang_EvalResult_getAsLongLong(result: CXEvalResult) -> c_longlong;
2029 /// Only available on `libclang` 3.9 and later.
2031 pub fn clang_EvalResult_getAsStr(result: CXEvalResult) -> *const c_char;
2032 /// Only available on `libclang` 4.0 and later.
2034 pub fn clang_EvalResult_getAsUnsigned(result: CXEvalResult) -> c_ulonglong;
2035 /// Only available on `libclang` 3.9 and later.
2037 pub fn clang_EvalResult_getKind(result: CXEvalResult) -> CXEvalResultKind;
2038 /// Only available on `libclang` 4.0 and later.
2040 pub fn clang_EvalResult_isUnsignedInt(result: CXEvalResult) -> c_uint;
2041 /// Only available on `libclang` 3.6 and later.
2043 pub fn clang_File_isEqual(left: CXFile, right: CXFile) -> c_int;
2044 /// Only available on `libclang` 7.0 and later.
2046 pub fn clang_File_tryGetRealPathName(file: CXFile) -> CXString;
2047 pub fn clang_IndexAction_create(index: CXIndex) -> CXIndexAction;
2049 pub fn clang_Location_isFromMainFile(location: CXSourceLocation) -> c_int;
2050 pub fn clang_Location_isInSystemHeader(location: CXSourceLocation) -> c_int;
2051 pub fn clang_Module_getASTFile(module: CXModule) -> CXFile;
2052 pub fn clang_Module_getFullName(module: CXModule) -> CXString;
2053 pub fn clang_Module_getName(module: CXModule) -> CXString;
2054 pub fn clang_Module_getNumTopLevelHeaders(tu: CXTranslationUnit, module: CXModule) -> c_uint;
2055 pub fn clang_Module_getParent(module: CXModule) -> CXModule;
2056 …pub fn clang_Module_getTopLevelHeader(tu: CXTranslationUnit, module: CXModule, index: c_uint) -> C…
2057 pub fn clang_Module_isSystem(module: CXModule) -> c_int;
2058 /// Only available on `libclang` 7.0 and later.
2061 /// Only available on `libclang` 7.0 and later.
2063 …PrintingPolicy_getProperty(policy: CXPrintingPolicy, property: CXPrintingPolicyProperty) -> c_uint;
2064 /// Only available on `libclang` 7.0 and later.
2067 pub fn clang_Range_isNull(range: CXSourceRange) -> c_int;
2068 /// Only available on `libclang` 5.0 and later.
2071 /// Only available on `libclang` 5.0 and later.
2073 pub fn clang_TargetInfo_getPointerWidth(info: CXTargetInfo) -> c_int;
2074 /// Only available on `libclang` 5.0 and later.
2076 pub fn clang_TargetInfo_getTriple(info: CXTargetInfo) -> CXString;
2077 pub fn clang_Type_getAlignOf(type_: CXType) -> c_longlong;
2078 pub fn clang_Type_getCXXRefQualifier(type_: CXType) -> CXRefQualifierKind;
2079 pub fn clang_Type_getClassType(type_: CXType) -> CXType;
2080 /// Only available on `libclang` 8.0 and later.
2082 pub fn clang_Type_getModifiedType(type_: CXType) -> CXType;
2083 /// Only available on `libclang` 3.9 and later.
2085 pub fn clang_Type_getNamedType(type_: CXType) -> CXType;
2086 /// Only available on `libclang` 8.0 and later.
2088 pub fn clang_Type_getNullability(type_: CXType) -> CXTypeNullabilityKind;
2089 /// Only available on `libclang` 8.0 and later.
2091 pub fn clang_Type_getNumObjCProtocolRefs(type_: CXType) -> c_uint;
2092 /// Only available on `libclang` 8.0 and later.
2094 pub fn clang_Type_getNumObjCTypeArgs(type_: CXType) -> c_uint;
2095 pub fn clang_Type_getNumTemplateArguments(type_: CXType) -> c_int;
2096 /// Only available on `libclang` 3.9 and later.
2098 pub fn clang_Type_getObjCEncoding(type_: CXType) -> CXString;
2099 /// Only available on `libclang` 8.0 and later.
2101 pub fn clang_Type_getObjCObjectBaseType(type_: CXType) -> CXType;
2102 /// Only available on `libclang` 8.0 and later.
2104 pub fn clang_Type_getObjCProtocolDecl(type_: CXType, index: c_uint) -> CXCursor;
2105 /// Only available on `libclang` 8.0 and later.
2107 pub fn clang_Type_getObjCTypeArg(type_: CXType, index: c_uint) -> CXType;
2108 pub fn clang_Type_getOffsetOf(type_: CXType, field: *const c_char) -> c_longlong;
2109 pub fn clang_Type_getSizeOf(type_: CXType) -> c_longlong;
2110 pub fn clang_Type_getTemplateArgumentAsType(type_: CXType, index: c_uint) -> CXType;
2111 /// Only available on `libclang` 11.0 and later.
2113 pub fn clang_Type_getValueType(type_: CXType) -> CXType;
2114 /// Only available on `libclang` 5.0 and later.
2116 pub fn clang_Type_isTransparentTagTypedef(type_: CXType) -> c_uint;
2117 /// Only available on `libclang` 3.7 and later.
2119 …pub fn clang_Type_visitFields(type_: CXType, visitor: CXFieldVisitor, data: CXClientData) -> CXVis…
2121 …nsaved: *mut CXUnsavedFile, n_unsaved: c_uint, flags: CXCodeComplete_Flags) -> *mut CXCodeComplete…
2122 …leteGetContainerKind(results: *mut CXCodeCompleteResults, incomplete: *mut c_uint) -> CXCursorKind;
2123 pub fn clang_codeCompleteGetContainerUSR(results: *mut CXCodeCompleteResults) -> CXString;
2124 pub fn clang_codeCompleteGetContexts(results: *mut CXCodeCompleteResults) -> c_ulonglong;
2125 …pub fn clang_codeCompleteGetDiagnostic(results: *mut CXCodeCompleteResults, index: c_uint) -> CXDi…
2126 pub fn clang_codeCompleteGetNumDiagnostics(results: *mut CXCodeCompleteResults) -> c_uint;
2127 pub fn clang_codeCompleteGetObjCSelector(results: *mut CXCodeCompleteResults) -> CXString;
2128 … pub fn clang_constructUSR_ObjCCategory(class: *const c_char, category: *const c_char) -> CXString;
2129 pub fn clang_constructUSR_ObjCClass(class: *const c_char) -> CXString;
2130 pub fn clang_constructUSR_ObjCIvar(name: *const c_char, usr: CXString) -> CXString;
2131 …pub fn clang_constructUSR_ObjCMethod(name: *const c_char, instance: c_uint, usr: CXString) -> CXSt…
2132 pub fn clang_constructUSR_ObjCProperty(property: *const c_char, usr: CXString) -> CXString;
2133 pub fn clang_constructUSR_ObjCProtocol(protocol: *const c_char) -> CXString;
2134 pub fn clang_createCXCursorSet() -> CXCursorSet;
2135 pub fn clang_createIndex(exclude: c_int, display: c_int) -> CXIndex;
2136 /// Only available on `libclang` 17.0 and later.
2138 pub fn clang_createIndexWithOptions(options: CXIndexOptions) -> CXIndex;
2139 pub fn clang_createTranslationUnit(index: CXIndex, file: *const c_char) -> CXTranslationUnit;
2140 …teTranslationUnit2(index: CXIndex, file: *const c_char, tu: *mut CXTranslationUnit) -> CXErrorCode;
2141 …uments: *const *const c_char, n_unsaved: c_uint, unsaved: *mut CXUnsavedFile) -> CXTranslationUnit;
2142 pub fn clang_defaultCodeCompleteOptions() -> CXCodeComplete_Flags;
2143 pub fn clang_defaultDiagnosticDisplayOptions() -> CXDiagnosticDisplayOptions;
2144 pub fn clang_defaultEditingTranslationUnitOptions() -> CXTranslationUnit_Flags;
2145 pub fn clang_defaultReparseOptions(tu: CXTranslationUnit) -> CXReparse_Flags;
2146 pub fn clang_defaultSaveOptions(tu: CXTranslationUnit) -> CXSaveTranslationUnit_Flags;
2157 /// Only available on `libclang` 3.8 and later.
2163 pub fn clang_equalCursors(left: CXCursor, right: CXCursor) -> c_uint;
2164 pub fn clang_equalLocations(left: CXSourceLocation, right: CXSourceLocation) -> c_uint;
2165 pub fn clang_equalRanges(left: CXSourceRange, right: CXSourceRange) -> c_uint;
2166 pub fn clang_equalTypes(left: CXType, right: CXType) -> c_uint;
2168 …ndIncludesInFile(tu: CXTranslationUnit, file: CXFile, cursor: CXCursorAndRangeVisitor) -> CXResult;
2169 …findReferencesInFile(cursor: CXCursor, file: CXFile, visitor: CXCursorAndRangeVisitor) -> CXResult;
2170 …pub fn clang_formatDiagnostic(diagnostic: CXDiagnostic, flags: CXDiagnosticDisplayOptions) -> CXSt…
2171 /// Only available on `libclang` 3.7 and later.
2174 /// Only available on `libclang` 5.0 and later.
2176 pub fn clang_getAddressSpace(type_: CXType) -> c_uint;
2177 /// Only available on `libclang` 4.0 and later.
2179 pub fn clang_getAllSkippedRanges(tu: CXTranslationUnit) -> *mut CXSourceRangeList;
2180 pub fn clang_getArgType(type_: CXType, index: c_uint) -> CXType;
2181 pub fn clang_getArrayElementType(type_: CXType) -> CXType;
2182 pub fn clang_getArraySize(type_: CXType) -> c_longlong;
2183 /// Only available on `libclang` 17.0 and later.
2185 pub fn clang_getBinaryOperatorKindSpelling(kind: CXBinaryOperatorKind) -> CXString;
2186 pub fn clang_getCString(string: CXString) -> *const c_char;
2187 pub fn clang_getCXTUResourceUsage(tu: CXTranslationUnit) -> CXTUResourceUsage;
2188 pub fn clang_getCXXAccessSpecifier(cursor: CXCursor) -> CX_CXXAccessSpecifier;
2189 pub fn clang_getCanonicalCursor(cursor: CXCursor) -> CXCursor;
2190 pub fn clang_getCanonicalType(type_: CXType) -> CXType;
2191 pub fn clang_getChildDiagnostics(diagnostic: CXDiagnostic) -> CXDiagnosticSet;
2192 pub fn clang_getClangVersion() -> CXString;
2193 pub fn clang_getCompletionAnnotation(string: CXCompletionString, index: c_uint) -> CXString;
2194 pub fn clang_getCompletionAvailability(string: CXCompletionString) -> CXAvailabilityKind;
2195 pub fn clang_getCompletionBriefComment(string: CXCompletionString) -> CXString;
2196 …pub fn clang_getCompletionChunkCompletionString(string: CXCompletionString, index: c_uint) -> CXCo…
2197 …pub fn clang_getCompletionChunkKind(string: CXCompletionString, index: c_uint) -> CXCompletionChun…
2198 pub fn clang_getCompletionChunkText(string: CXCompletionString, index: c_uint) -> CXString;
2199 /// Only available on `libclang` 7.0 and later.
2201 …leteResults, completion_index: c_uint, fixit_index: c_uint, range: *mut CXSourceRange) -> CXString;
2202 pub fn clang_getCompletionNumAnnotations(string: CXCompletionString) -> c_uint;
2203 /// Only available on `libclang` 7.0 and later.
2205 …ng_getCompletionNumFixIts(results: *mut CXCodeCompleteResults, completion_index: c_uint) -> c_uint;
2206 … pub fn clang_getCompletionParent(string: CXCompletionString, kind: *mut CXCursorKind) -> CXString;
2207 pub fn clang_getCompletionPriority(string: CXCompletionString) -> c_uint;
2208 pub fn clang_getCursor(tu: CXTranslationUnit, location: CXSourceLocation) -> CXCursor;
2209 pub fn clang_getCursorAvailability(cursor: CXCursor) -> CXAvailabilityKind;
2210 /// Only available on `libclang` 17.0 and later.
2212 pub fn clang_getCursorBinaryOperatorKind(cursor: CXCursor) -> CXBinaryOperatorKind;
2213 pub fn clang_getCursorCompletionString(cursor: CXCursor) -> CXCompletionString;
2214 pub fn clang_getCursorDefinition(cursor: CXCursor) -> CXCursor;
2215 pub fn clang_getCursorDisplayName(cursor: CXCursor) -> CXString;
2216 /// Only available on `libclang` 5.0 and later.
2218 …pub fn clang_getCursorExceptionSpecificationType(cursor: CXCursor) -> CXCursor_ExceptionSpecificat…
2219 pub fn clang_getCursorExtent(cursor: CXCursor) -> CXSourceRange;
2220 pub fn clang_getCursorKind(cursor: CXCursor) -> CXCursorKind;
2221 pub fn clang_getCursorKindSpelling(kind: CXCursorKind) -> CXString;
2222 pub fn clang_getCursorLanguage(cursor: CXCursor) -> CXLanguageKind;
2223 pub fn clang_getCursorLexicalParent(cursor: CXCursor) -> CXCursor;
2224 pub fn clang_getCursorLinkage(cursor: CXCursor) -> CXLinkageKind;
2225 pub fn clang_getCursorLocation(cursor: CXCursor) -> CXSourceLocation;
2226 …message: *mut CXString, availability: *mut CXPlatformAvailability, n_availability: c_int) -> c_int;
2227 /// Only available on `libclang` 7.0 and later.
2229 pub fn clang_getCursorPrettyPrinted(cursor: CXCursor, policy: CXPrintingPolicy) -> CXString;
2230 /// Only available on `libclang` 7.0 and later.
2232 pub fn clang_getCursorPrintingPolicy(cursor: CXCursor) -> CXPrintingPolicy;
2233 …tCursorReferenceNameRange(cursor: CXCursor, flags: CXNameRefFlags, index: c_uint) -> CXSourceRange;
2234 pub fn clang_getCursorReferenced(cursor: CXCursor) -> CXCursor;
2235 pub fn clang_getCursorResultType(cursor: CXCursor) -> CXType;
2236 pub fn clang_getCursorSemanticParent(cursor: CXCursor) -> CXCursor;
2237 pub fn clang_getCursorSpelling(cursor: CXCursor) -> CXString;
2238 /// Only available on `libclang` 6.0 and later.
2240 pub fn clang_getCursorTLSKind(cursor: CXCursor) -> CXTLSKind;
2241 pub fn clang_getCursorType(cursor: CXCursor) -> CXType;
2242 /// Only available on `libclang` 17.0 and later.
2244 pub fn clang_getCursorUnaryOperatorKind(cursor: CXCursor) -> CXUnaryOperatorKind;
2245 pub fn clang_getCursorUSR(cursor: CXCursor) -> CXString;
2246 /// Only available on `libclang` 3.8 and later.
2248 pub fn clang_getCursorVisibility(cursor: CXCursor) -> CXVisibilityKind;
2249 pub fn clang_getDeclObjCTypeEncoding(cursor: CXCursor) -> CXString;
2251 pub fn clang_getDiagnostic(tu: CXTranslationUnit, index: c_uint) -> CXDiagnostic;
2252 pub fn clang_getDiagnosticCategory(diagnostic: CXDiagnostic) -> c_uint;
2253 pub fn clang_getDiagnosticCategoryName(category: c_uint) -> CXString;
2254 pub fn clang_getDiagnosticCategoryText(diagnostic: CXDiagnostic) -> CXString;
2255 …getDiagnosticFixIt(diagnostic: CXDiagnostic, index: c_uint, range: *mut CXSourceRange) -> CXString;
2256 pub fn clang_getDiagnosticInSet(diagnostic: CXDiagnosticSet, index: c_uint) -> CXDiagnostic;
2257 pub fn clang_getDiagnosticLocation(diagnostic: CXDiagnostic) -> CXSourceLocation;
2258 pub fn clang_getDiagnosticNumFixIts(diagnostic: CXDiagnostic) -> c_uint;
2259 pub fn clang_getDiagnosticNumRanges(diagnostic: CXDiagnostic) -> c_uint;
2260 pub fn clang_getDiagnosticOption(diagnostic: CXDiagnostic, option: *mut CXString) -> CXString;
2261 pub fn clang_getDiagnosticRange(diagnostic: CXDiagnostic, index: c_uint) -> CXSourceRange;
2262 pub fn clang_getDiagnosticSetFromTU(tu: CXTranslationUnit) -> CXDiagnosticSet;
2263 pub fn clang_getDiagnosticSeverity(diagnostic: CXDiagnostic) -> CXDiagnosticSeverity;
2264 pub fn clang_getDiagnosticSpelling(diagnostic: CXDiagnostic) -> CXString;
2265 pub fn clang_getElementType(type_: CXType) -> CXType;
2266 pub fn clang_getEnumConstantDeclUnsignedValue(cursor: CXCursor) -> c_ulonglong;
2267 pub fn clang_getEnumConstantDeclValue(cursor: CXCursor) -> c_longlong;
2268 pub fn clang_getEnumDeclIntegerType(cursor: CXCursor) -> CXType;
2269 /// Only available on `libclang` 5.0 and later.
2271 … pub fn clang_getExceptionSpecificationType(type_: CXType) -> CXCursor_ExceptionSpecificationKind;
2273 pub fn clang_getFieldDeclBitWidth(cursor: CXCursor) -> c_int;
2274 pub fn clang_getFile(tu: CXTranslationUnit, file: *const c_char) -> CXFile;
2275 /// Only available on `libclang` 6.0 and later.
2277 …pub fn clang_getFileContents(tu: CXTranslationUnit, file: CXFile, size: *mut size_t) -> *const c_c…
2279 pub fn clang_getFileName(file: CXFile) -> CXString;
2280 pub fn clang_getFileTime(file: CXFile) -> time_t;
2281 pub fn clang_getFileUniqueID(file: CXFile, id: *mut CXFileUniqueID) -> c_int;
2282 pub fn clang_getFunctionTypeCallingConv(type_: CXType) -> CXCallingConv;
2283 pub fn clang_getIBOutletCollectionType(cursor: CXCursor) -> CXType;
2284 pub fn clang_getIncludedFile(cursor: CXCursor) -> CXFile;
2287 …pub fn clang_getLocation(tu: CXTranslationUnit, file: CXFile, line: c_uint, column: c_uint) -> CXS…
2288 …pub fn clang_getLocationForOffset(tu: CXTranslationUnit, file: CXFile, offset: c_uint) -> CXSource…
2289 pub fn clang_getModuleForFile(tu: CXTranslationUnit, file: CXFile) -> CXModule;
2290 /// Only available on `libclang` 16.0 and later.
2292 pub fn clang_getNonReferenceType(type_: CXType) -> CXType;
2293 pub fn clang_getNullCursor() -> CXCursor;
2294 pub fn clang_getNullLocation() -> CXSourceLocation;
2295 pub fn clang_getNullRange() -> CXSourceRange;
2296 pub fn clang_getNumArgTypes(type_: CXType) -> c_int;
2297 pub fn clang_getNumCompletionChunks(string: CXCompletionString) -> c_uint;
2298 pub fn clang_getNumDiagnostics(tu: CXTranslationUnit) -> c_uint;
2299 pub fn clang_getNumDiagnosticsInSet(diagnostic: CXDiagnosticSet) -> c_uint;
2300 pub fn clang_getNumElements(type_: CXType) -> c_longlong;
2301 pub fn clang_getNumOverloadedDecls(cursor: CXCursor) -> c_uint;
2302 pub fn clang_getOverloadedDecl(cursor: CXCursor, index: c_uint) -> CXCursor;
2304 pub fn clang_getPointeeType(type_: CXType) -> CXType;
2306 pub fn clang_getRange(start: CXSourceLocation, end: CXSourceLocation) -> CXSourceRange;
2307 pub fn clang_getRangeEnd(range: CXSourceRange) -> CXSourceLocation;
2308 pub fn clang_getRangeStart(range: CXSourceRange) -> CXSourceLocation;
2309 pub fn clang_getRemappings(file: *const c_char) -> CXRemapping;
2310 … pub fn clang_getRemappingsFromFileList(files: *mut *const c_char, n_files: c_uint) -> CXRemapping;
2311 pub fn clang_getResultType(type_: CXType) -> CXType;
2312 pub fn clang_getSkippedRanges(tu: CXTranslationUnit, file: CXFile) -> *mut CXSourceRangeList;
2313 pub fn clang_getSpecializedCursorTemplate(cursor: CXCursor) -> CXCursor;
2315 pub fn clang_getTUResourceUsageName(kind: CXTUResourceUsageKind) -> *const c_char;
2316 pub fn clang_getTemplateCursorKind(cursor: CXCursor) -> CXCursorKind;
2317 pub fn clang_getToken(tu: CXTranslationUnit, location: CXSourceLocation) -> *mut CXToken;
2318 pub fn clang_getTokenExtent(tu: CXTranslationUnit, token: CXToken) -> CXSourceRange;
2319 pub fn clang_getTokenKind(token: CXToken) -> CXTokenKind;
2320 pub fn clang_getTokenLocation(tu: CXTranslationUnit, token: CXToken) -> CXSourceLocation;
2321 pub fn clang_getTokenSpelling(tu: CXTranslationUnit, token: CXToken) -> CXString;
2322 pub fn clang_getTranslationUnitCursor(tu: CXTranslationUnit) -> CXCursor;
2323 pub fn clang_getTranslationUnitSpelling(tu: CXTranslationUnit) -> CXString;
2324 /// Only available on `libclang` 5.0 and later.
2326 pub fn clang_getTranslationUnitTargetInfo(tu: CXTranslationUnit) -> CXTargetInfo;
2327 /// Only available on `libclang` 17.0 and later.
2329 pub fn clang_getUnaryOperatorKindSpelling(kind: CXUnaryOperatorKind) -> CXString;
2330 /// Only available on `libclang` 16.0 and later.
2332 pub fn clang_getUnqualifiedType(type_: CXType) -> CXType;
2333 pub fn clang_getTypeDeclaration(type_: CXType) -> CXCursor;
2334 pub fn clang_getTypeKindSpelling(type_: CXTypeKind) -> CXString;
2335 pub fn clang_getTypeSpelling(type_: CXType) -> CXString;
2336 pub fn clang_getTypedefDeclUnderlyingType(cursor: CXCursor) -> CXType;
2337 /// Only available on `libclang` 5.0 and later.
2339 pub fn clang_getTypedefName(type_: CXType) -> CXString;
2340 pub fn clang_hashCursor(cursor: CXCursor) -> c_uint;
2341 pub fn clang_indexLoc_getCXSourceLocation(location: CXIdxLoc) -> CXSourceLocation;
2343 …, n_unsaved: c_uint, tu: *mut CXTranslationUnit, tu_flags: CXTranslationUnit_Flags) -> CXErrorCode;
2344 /// Only available on `libclang` 3.8 and later.
2346 …, n_unsaved: c_uint, tu: *mut CXTranslationUnit, tu_flags: CXTranslationUnit_Flags) -> CXErrorCode;
2347 …mut IndexerCallbacks, n_callbacks: c_uint, flags: CXIndexOptFlags, tu: CXTranslationUnit) -> c_int;
2348 …pub fn clang_index_getCXXClassDeclInfo(info: *const CXIdxDeclInfo) -> *const CXIdxCXXClassDeclInfo;
2349 pub fn clang_index_getClientContainer(info: *const CXIdxContainerInfo) -> CXIdxClientContainer;
2350 pub fn clang_index_getClientEntity(info: *const CXIdxEntityInfo) -> CXIdxClientEntity;
2351 …pub fn clang_index_getIBOutletCollectionAttrInfo(info: *const CXIdxAttrInfo) -> *const CXIdxIBOutl…
2352 …pub fn clang_index_getObjCCategoryDeclInfo(info: *const CXIdxDeclInfo) -> *const CXIdxObjCCategory…
2353 …pub fn clang_index_getObjCContainerDeclInfo(info: *const CXIdxDeclInfo) -> *const CXIdxObjCContain…
2354 …pub fn clang_index_getObjCInterfaceDeclInfo(info: *const CXIdxDeclInfo) -> *const CXIdxObjCInterfa…
2355 …pub fn clang_index_getObjCPropertyDeclInfo(info: *const CXIdxDeclInfo) -> *const CXIdxObjCProperty…
2356 …pub fn clang_index_getObjCProtocolRefListInfo(info: *const CXIdxDeclInfo) -> *const CXIdxObjCProto…
2357 pub fn clang_index_isEntityObjCContainerKind(info: CXIdxEntityKind) -> c_int;
2360 pub fn clang_isAttribute(kind: CXCursorKind) -> c_uint;
2361 pub fn clang_isConstQualifiedType(type_: CXType) -> c_uint;
2362 pub fn clang_isCursorDefinition(cursor: CXCursor) -> c_uint;
2363 pub fn clang_isDeclaration(kind: CXCursorKind) -> c_uint;
2364 pub fn clang_isExpression(kind: CXCursorKind) -> c_uint;
2365 pub fn clang_isFileMultipleIncludeGuarded(tu: CXTranslationUnit, file: CXFile) -> c_uint;
2366 pub fn clang_isFunctionTypeVariadic(type_: CXType) -> c_uint;
2367 pub fn clang_isInvalid(kind: CXCursorKind) -> c_uint;
2368 /// Only available on `libclang` 7.0 and later.
2370 pub fn clang_isInvalidDeclaration(cursor: CXCursor) -> c_uint;
2371 pub fn clang_isPODType(type_: CXType) -> c_uint;
2372 pub fn clang_isPreprocessing(kind: CXCursorKind) -> c_uint;
2373 pub fn clang_isReference(kind: CXCursorKind) -> c_uint;
2374 pub fn clang_isRestrictQualifiedType(type_: CXType) -> c_uint;
2375 pub fn clang_isStatement(kind: CXCursorKind) -> c_uint;
2376 pub fn clang_isTranslationUnit(kind: CXCursorKind) -> c_uint;
2377 pub fn clang_isUnexposed(kind: CXCursorKind) -> c_uint;
2378 pub fn clang_isVirtualBase(cursor: CXCursor) -> c_uint;
2379 pub fn clang_isVolatileQualifiedType(type_: CXType) -> c_uint;
2380 …tics(file: *const c_char, error: *mut CXLoadDiag_Error, message: *mut CXString) -> CXDiagnosticSet;
2381 …saved: *mut CXUnsavedFile, n_unsaved: c_uint, flags: CXTranslationUnit_Flags) -> CXTranslationUnit;
2382 …ile, n_unsaved: c_uint, flags: CXTranslationUnit_Flags, tu: *mut CXTranslationUnit) -> CXErrorCode;
2383 /// Only available on `libclang` 3.8 and later.
2385 …ile, n_unsaved: c_uint, flags: CXTranslationUnit_Flags, tu: *mut CXTranslationUnit) -> CXErrorCode;
2388 pub fn clang_remap_getNumFiles(remapping: CXRemapping) -> c_uint;
2389 …lationUnit, n_unsaved: c_uint, unsaved: *mut CXUnsavedFile, flags: CXReparse_Flags) -> CXErrorCode;
2390 …t(tu: CXTranslationUnit, file: *const c_char, options: CXSaveTranslationUnit_Flags) -> CXSaveError;
2392 /// Only available on `libclang` 5.0 and later.
2394 pub fn clang_suspendTranslationUnit(tu: CXTranslationUnit) -> c_uint;
2397 …pub fn clang_visitChildren(cursor: CXCursor, visitor: CXCursorVisitor, data: CXClientData) -> c_ui…
2400 pub fn clang_BlockCommandComment_getArgText(comment: CXComment, index: c_uint) -> CXString;
2401 pub fn clang_BlockCommandComment_getCommandName(comment: CXComment) -> CXString;
2402 pub fn clang_BlockCommandComment_getNumArgs(comment: CXComment) -> c_uint;
2403 pub fn clang_BlockCommandComment_getParagraph(comment: CXComment) -> CXComment;
2404 pub fn clang_Comment_getChild(comment: CXComment, index: c_uint) -> CXComment;
2405 pub fn clang_Comment_getKind(comment: CXComment) -> CXCommentKind;
2406 pub fn clang_Comment_getNumChildren(comment: CXComment) -> c_uint;
2407 pub fn clang_Comment_isWhitespace(comment: CXComment) -> c_uint;
2408 pub fn clang_Cursor_getParsedComment(C: CXCursor) -> CXComment;
2409 pub fn clang_FullComment_getAsHTML(comment: CXComment) -> CXString;
2410 pub fn clang_FullComment_getAsXML(comment: CXComment) -> CXString;
2411 pub fn clang_HTMLStartTag_getAttrName(comment: CXComment, index: c_uint) -> CXString;
2412 pub fn clang_HTMLStartTag_getAttrValue(comment: CXComment, index: c_uint) -> CXString;
2413 pub fn clang_HTMLStartTag_getNumAttrs(comment: CXComment) -> c_uint;
2414 pub fn clang_HTMLStartTagComment_isSelfClosing(comment: CXComment) -> c_uint;
2415 pub fn clang_HTMLTagComment_getAsString(comment: CXComment) -> CXString;
2416 pub fn clang_HTMLTagComment_getTagName(comment: CXComment) -> CXString;
2417 pub fn clang_InlineCommandComment_getArgText(comment: CXComment, index: c_uint) -> CXString;
2418 pub fn clang_InlineCommandComment_getCommandName(comment: CXComment) -> CXString;
2419 pub fn clang_InlineCommandComment_getNumArgs(comment: CXComment) -> c_uint;
2420 …pub fn clang_InlineCommandComment_getRenderKind(comment: CXComment) -> CXCommentInlineCommandRende…
2421 pub fn clang_InlineContentComment_hasTrailingNewline(comment: CXComment) -> c_uint;
2422 … pub fn clang_ParamCommandComment_getDirection(comment: CXComment) -> CXCommentParamPassDirection;
2423 pub fn clang_ParamCommandComment_getParamIndex(comment: CXComment) -> c_uint;
2424 pub fn clang_ParamCommandComment_getParamName(comment: CXComment) -> CXString;
2425 pub fn clang_ParamCommandComment_isDirectionExplicit(comment: CXComment) -> c_uint;
2426 pub fn clang_ParamCommandComment_isParamIndexValid(comment: CXComment) -> c_uint;
2427 pub fn clang_TextComment_getText(comment: CXComment) -> CXString;
2428 pub fn clang_TParamCommandComment_getDepth(comment: CXComment) -> c_uint;
2429 pub fn clang_TParamCommandComment_getIndex(comment: CXComment, depth: c_uint) -> c_uint;
2430 pub fn clang_TParamCommandComment_getParamName(comment: CXComment) -> CXString;
2431 pub fn clang_TParamCommandComment_isParamPositionValid(comment: CXComment) -> c_uint;
2432 pub fn clang_VerbatimBlockLineComment_getText(comment: CXComment) -> CXString;
2433 pub fn clang_VerbatimLineComment_getText(comment: CXComment) -> CXString;