1# If you add a symbol to this file, make sure to add it with the correct 2# version. For example, if the LLVM main branch is LLVM 14.0.0, add new 3# symbols with the version LLVM_14. 4# On platforms where versions scripts are not used, this file will be used to 5# generate a list of exports for libclang.so 6 7LLVM_13 { 8 global: 9 clang_BlockCommandComment_getArgText; 10 clang_BlockCommandComment_getCommandName; 11 clang_BlockCommandComment_getNumArgs; 12 clang_BlockCommandComment_getParagraph; 13 clang_CXCursorSet_contains; 14 clang_CXCursorSet_insert; 15 clang_CXIndex_getGlobalOptions; 16 clang_CXIndex_setGlobalOptions; 17 clang_CXIndex_setInvocationEmissionPathOption; 18 clang_CXRewriter_create; 19 clang_CXRewriter_dispose; 20 clang_CXRewriter_insertTextBefore; 21 clang_CXRewriter_overwriteChangedFiles; 22 clang_CXRewriter_removeText; 23 clang_CXRewriter_replaceText; 24 clang_CXRewriter_writeMainFileToStdOut; 25 clang_CXXConstructor_isConvertingConstructor; 26 clang_CXXConstructor_isCopyConstructor; 27 clang_CXXConstructor_isDefaultConstructor; 28 clang_CXXConstructor_isMoveConstructor; 29 clang_CXXField_isMutable; 30 clang_CXXMethod_isConst; 31 clang_CXXMethod_isDefaulted; 32 clang_CXXMethod_isPureVirtual; 33 clang_CXXMethod_isStatic; 34 clang_CXXMethod_isVirtual; 35 clang_CXXRecord_isAbstract; 36 clang_Comment_getChild; 37 clang_Comment_getKind; 38 clang_Comment_getNumChildren; 39 clang_Comment_isWhitespace; 40 clang_CompilationDatabase_dispose; 41 clang_CompilationDatabase_fromDirectory; 42 clang_CompilationDatabase_getAllCompileCommands; 43 clang_CompilationDatabase_getCompileCommands; 44 clang_CompileCommand_getArg; 45 clang_CompileCommand_getDirectory; 46 clang_CompileCommand_getFilename; 47 clang_CompileCommand_getMappedSourceContent; 48 clang_CompileCommand_getMappedSourcePath; 49 clang_CompileCommand_getNumArgs; 50 clang_CompileCommand_getNumMappedSources; 51 clang_CompileCommands_dispose; 52 clang_CompileCommands_getCommand; 53 clang_CompileCommands_getSize; 54 clang_Cursor_Evaluate; 55 clang_Cursor_getArgument; 56 clang_Cursor_getBriefCommentText; 57 clang_Cursor_getCXXManglings; 58 clang_Cursor_getCommentRange; 59 clang_Cursor_getMangling; 60 clang_Cursor_getModule; 61 clang_Cursor_getNumArguments; 62 clang_Cursor_getNumTemplateArguments; 63 clang_Cursor_getObjCDeclQualifiers; 64 clang_Cursor_getObjCManglings; 65 clang_Cursor_getObjCPropertyAttributes; 66 clang_Cursor_getObjCPropertyGetterName; 67 clang_Cursor_getObjCPropertySetterName; 68 clang_Cursor_getObjCSelectorIndex; 69 clang_Cursor_getOffsetOfField; 70 clang_Cursor_getParsedComment; 71 clang_Cursor_getRawCommentText; 72 clang_Cursor_getReceiverType; 73 clang_Cursor_getSpellingNameRange; 74 clang_Cursor_getStorageClass; 75 clang_Cursor_getTemplateArgumentKind; 76 clang_Cursor_getTemplateArgumentType; 77 clang_Cursor_getTemplateArgumentUnsignedValue; 78 clang_Cursor_getTemplateArgumentValue; 79 clang_Cursor_getTranslationUnit; 80 clang_Cursor_getVarDeclInitializer; 81 clang_Cursor_hasAttrs; 82 clang_Cursor_hasVarDeclExternalStorage; 83 clang_Cursor_hasVarDeclGlobalStorage; 84 clang_Cursor_isAnonymous; 85 clang_Cursor_isAnonymousRecordDecl; 86 clang_Cursor_isBitField; 87 clang_Cursor_isDynamicCall; 88 clang_Cursor_isExternalSymbol; 89 clang_Cursor_isFunctionInlined; 90 clang_Cursor_isInlineNamespace; 91 clang_Cursor_isMacroBuiltin; 92 clang_Cursor_isMacroFunctionLike; 93 clang_Cursor_isNull; 94 clang_Cursor_isObjCOptional; 95 clang_Cursor_isVariadic; 96 clang_EnumDecl_isScoped; 97 clang_EvalResult_dispose; 98 clang_EvalResult_getAsDouble; 99 clang_EvalResult_getAsInt; 100 clang_EvalResult_getAsLongLong; 101 clang_EvalResult_getAsStr; 102 clang_EvalResult_getAsUnsigned; 103 clang_EvalResult_getKind; 104 clang_EvalResult_isUnsignedInt; 105 clang_File_isEqual; 106 clang_File_tryGetRealPathName; 107 clang_FullComment_getAsHTML; 108 clang_FullComment_getAsXML; 109 clang_HTMLStartTagComment_isSelfClosing; 110 clang_HTMLStartTag_getAttrName; 111 clang_HTMLStartTag_getAttrValue; 112 clang_HTMLStartTag_getNumAttrs; 113 clang_HTMLTagComment_getAsString; 114 clang_HTMLTagComment_getTagName; 115 clang_IndexAction_create; 116 clang_IndexAction_dispose; 117 clang_InlineCommandComment_getArgText; 118 clang_InlineCommandComment_getCommandName; 119 clang_InlineCommandComment_getNumArgs; 120 clang_InlineCommandComment_getRenderKind; 121 clang_InlineContentComment_hasTrailingNewline; 122 clang_Location_isFromMainFile; 123 clang_Location_isInSystemHeader; 124 clang_ModuleMapDescriptor_create; 125 clang_ModuleMapDescriptor_dispose; 126 clang_ModuleMapDescriptor_setFrameworkModuleName; 127 clang_ModuleMapDescriptor_setUmbrellaHeader; 128 clang_ModuleMapDescriptor_writeToBuffer; 129 clang_Module_getASTFile; 130 clang_Module_getFullName; 131 clang_Module_getName; 132 clang_Module_getNumTopLevelHeaders; 133 clang_Module_getParent; 134 clang_Module_getTopLevelHeader; 135 clang_Module_isSystem; 136 clang_ParamCommandComment_getDirection; 137 clang_ParamCommandComment_getParamIndex; 138 clang_ParamCommandComment_getParamName; 139 clang_ParamCommandComment_isDirectionExplicit; 140 clang_ParamCommandComment_isParamIndexValid; 141 clang_PrintingPolicy_dispose; 142 clang_PrintingPolicy_getProperty; 143 clang_PrintingPolicy_setProperty; 144 clang_Range_isNull; 145 clang_TParamCommandComment_getDepth; 146 clang_TParamCommandComment_getIndex; 147 clang_TParamCommandComment_getParamName; 148 clang_TParamCommandComment_isParamPositionValid; 149 clang_TargetInfo_dispose; 150 clang_TargetInfo_getPointerWidth; 151 clang_TargetInfo_getTriple; 152 clang_TextComment_getText; 153 clang_Type_getAlignOf; 154 clang_Type_getCXXRefQualifier; 155 clang_Type_getClassType; 156 clang_Type_getModifiedType; 157 clang_Type_getNamedType; 158 clang_Type_getNullability; 159 clang_Type_getNumObjCProtocolRefs; 160 clang_Type_getNumObjCTypeArgs; 161 clang_Type_getNumTemplateArguments; 162 clang_Type_getObjCEncoding; 163 clang_Type_getObjCObjectBaseType; 164 clang_Type_getObjCProtocolDecl; 165 clang_Type_getObjCTypeArg; 166 clang_Type_getOffsetOf; 167 clang_Type_getSizeOf; 168 clang_Type_getTemplateArgumentAsType; 169 clang_Type_getValueType; 170 clang_Type_isTransparentTagTypedef; 171 clang_Type_visitFields; 172 clang_VerbatimBlockLineComment_getText; 173 clang_VerbatimLineComment_getText; 174 clang_VirtualFileOverlay_addFileMapping; 175 clang_VirtualFileOverlay_create; 176 clang_VirtualFileOverlay_dispose; 177 clang_VirtualFileOverlay_setCaseSensitivity; 178 clang_VirtualFileOverlay_writeToBuffer; 179 clang_annotateTokens; 180 clang_codeCompleteAt; 181 clang_codeCompleteGetContainerKind; 182 clang_codeCompleteGetContainerUSR; 183 clang_codeCompleteGetContexts; 184 clang_codeCompleteGetDiagnostic; 185 clang_codeCompleteGetNumDiagnostics; 186 clang_codeCompleteGetObjCSelector; 187 clang_constructUSR_ObjCCategory; 188 clang_constructUSR_ObjCClass; 189 clang_constructUSR_ObjCIvar; 190 clang_constructUSR_ObjCMethod; 191 clang_constructUSR_ObjCProperty; 192 clang_constructUSR_ObjCProtocol; 193 clang_createCXCursorSet; 194 clang_createIndex; 195 clang_createTranslationUnit; 196 clang_createTranslationUnit2; 197 clang_createTranslationUnitFromSourceFile; 198 clang_defaultCodeCompleteOptions; 199 clang_defaultDiagnosticDisplayOptions; 200 clang_defaultEditingTranslationUnitOptions; 201 clang_defaultReparseOptions; 202 clang_defaultSaveOptions; 203 clang_disposeCXCursorSet; 204 clang_disposeCXPlatformAvailability; 205 clang_disposeCXTUResourceUsage; 206 clang_disposeCodeCompleteResults; 207 clang_disposeDiagnostic; 208 clang_disposeDiagnosticSet; 209 clang_disposeIndex; 210 clang_disposeOverriddenCursors; 211 clang_disposeSourceRangeList; 212 clang_disposeString; 213 clang_disposeStringSet; 214 clang_disposeTokens; 215 clang_disposeTranslationUnit; 216 clang_enableStackTraces; 217 clang_equalCursors; 218 clang_equalLocations; 219 clang_equalRanges; 220 clang_equalTypes; 221 clang_executeOnThread; 222 clang_findIncludesInFile; 223 clang_findIncludesInFileWithBlock; 224 clang_findReferencesInFile; 225 clang_findReferencesInFileWithBlock; 226 clang_formatDiagnostic; 227 clang_free; 228 clang_getAddressSpace; 229 clang_getAllSkippedRanges; 230 clang_getArgType; 231 clang_getArrayElementType; 232 clang_getArraySize; 233 clang_getBuildSessionTimestamp; 234 clang_getCString; 235 clang_getCXTUResourceUsage; 236 clang_getCXXAccessSpecifier; 237 clang_getCanonicalCursor; 238 clang_getCanonicalType; 239 clang_getChildDiagnostics; 240 clang_getClangVersion; 241 clang_getCompletionAnnotation; 242 clang_getCompletionAvailability; 243 clang_getCompletionBriefComment; 244 clang_getCompletionChunkCompletionString; 245 clang_getCompletionChunkKind; 246 clang_getCompletionChunkText; 247 clang_getCompletionFixIt; 248 clang_getCompletionNumAnnotations; 249 clang_getCompletionNumFixIts; 250 clang_getCompletionParent; 251 clang_getCompletionPriority; 252 clang_getCursor; 253 clang_getCursorAvailability; 254 clang_getCursorCompletionString; 255 clang_getCursorDefinition; 256 clang_getCursorDisplayName; 257 clang_getCursorExceptionSpecificationType; 258 clang_getCursorExtent; 259 clang_getCursorKind; 260 clang_getCursorKindSpelling; 261 clang_getCursorLanguage; 262 clang_getCursorLexicalParent; 263 clang_getCursorLinkage; 264 clang_getCursorLocation; 265 clang_getCursorPlatformAvailability; 266 clang_getCursorPrettyPrinted; 267 clang_getCursorPrintingPolicy; 268 clang_getCursorReferenceNameRange; 269 clang_getCursorReferenced; 270 clang_getCursorResultType; 271 clang_getCursorSemanticParent; 272 clang_getCursorSpelling; 273 clang_getCursorTLSKind; 274 clang_getCursorType; 275 clang_getCursorUSR; 276 clang_getCursorVisibility; 277 clang_getDeclObjCTypeEncoding; 278 clang_getDefinitionSpellingAndExtent; 279 clang_getDiagnostic; 280 clang_getDiagnosticCategory; 281 clang_getDiagnosticCategoryName; 282 clang_getDiagnosticCategoryText; 283 clang_getDiagnosticFixIt; 284 clang_getDiagnosticInSet; 285 clang_getDiagnosticLocation; 286 clang_getDiagnosticNumFixIts; 287 clang_getDiagnosticNumRanges; 288 clang_getDiagnosticOption; 289 clang_getDiagnosticRange; 290 clang_getDiagnosticSetFromTU; 291 clang_getDiagnosticSeverity; 292 clang_getDiagnosticSpelling; 293 clang_getElementType; 294 clang_getEnumConstantDeclUnsignedValue; 295 clang_getEnumConstantDeclValue; 296 clang_getEnumDeclIntegerType; 297 clang_getExceptionSpecificationType; 298 clang_getExpansionLocation; 299 clang_getFieldDeclBitWidth; 300 clang_getFile; 301 clang_getFileContents; 302 clang_getFileLocation; 303 clang_getFileName; 304 clang_getFileTime; 305 clang_getFileUniqueID; 306 clang_getFunctionTypeCallingConv; 307 clang_getIBOutletCollectionType; 308 clang_getIncludedFile; 309 clang_getInclusions; 310 clang_getInstantiationLocation; 311 clang_getLocation; 312 clang_getLocationForOffset; 313 clang_getModuleForFile; 314 clang_getNullCursor; 315 clang_getNullLocation; 316 clang_getNullRange; 317 clang_getNumArgTypes; 318 clang_getNumCompletionChunks; 319 clang_getNumDiagnostics; 320 clang_getNumDiagnosticsInSet; 321 clang_getNumElements; 322 clang_getNumOverloadedDecls; 323 clang_getOverloadedDecl; 324 clang_getOverriddenCursors; 325 clang_getPointeeType; 326 clang_getPresumedLocation; 327 clang_getRange; 328 clang_getRangeEnd; 329 clang_getRangeStart; 330 clang_getRemappings; 331 clang_getRemappingsFromFileList; 332 clang_getResultType; 333 clang_getSkippedRanges; 334 clang_getSpecializedCursorTemplate; 335 clang_getSpellingLocation; 336 clang_getTUResourceUsageName; 337 clang_getTemplateCursorKind; 338 clang_getToken; 339 clang_getTokenExtent; 340 clang_getTokenKind; 341 clang_getTokenLocation; 342 clang_getTokenSpelling; 343 clang_getTranslationUnitCursor; 344 clang_getTranslationUnitSpelling; 345 clang_getTranslationUnitTargetInfo; 346 clang_getTypeDeclaration; 347 clang_getTypeKindSpelling; 348 clang_getTypeSpelling; 349 clang_getTypedefDeclUnderlyingType; 350 clang_getTypedefName; 351 clang_hashCursor; 352 clang_indexLoc_getCXSourceLocation; 353 clang_indexLoc_getFileLocation; 354 clang_indexSourceFile; 355 clang_indexSourceFileFullArgv; 356 clang_indexTranslationUnit; 357 clang_index_getCXXClassDeclInfo; 358 clang_index_getClientContainer; 359 clang_index_getClientEntity; 360 clang_index_getIBOutletCollectionAttrInfo; 361 clang_index_getObjCCategoryDeclInfo; 362 clang_index_getObjCContainerDeclInfo; 363 clang_index_getObjCInterfaceDeclInfo; 364 clang_index_getObjCPropertyDeclInfo; 365 clang_index_getObjCProtocolRefListInfo; 366 clang_index_isEntityObjCContainerKind; 367 clang_index_setClientContainer; 368 clang_index_setClientEntity; 369 clang_install_aborting_llvm_fatal_error_handler; 370 clang_isAttribute; 371 clang_isConstQualifiedType; 372 clang_isCursorDefinition; 373 clang_isDeclaration; 374 clang_isExpression; 375 clang_isFileMultipleIncludeGuarded; 376 clang_isFunctionTypeVariadic; 377 clang_isInvalid; 378 clang_isInvalidDeclaration; 379 clang_isPODType; 380 clang_isPreprocessing; 381 clang_isReference; 382 clang_isRestrictQualifiedType; 383 clang_isStatement; 384 clang_isTranslationUnit; 385 clang_isUnexposed; 386 clang_isVirtualBase; 387 clang_isVolatileQualifiedType; 388 clang_loadDiagnostics; 389 clang_parseTranslationUnit; 390 clang_parseTranslationUnit2; 391 clang_parseTranslationUnit2FullArgv; 392 clang_remap_dispose; 393 clang_remap_getFilenames; 394 clang_remap_getNumFiles; 395 clang_reparseTranslationUnit; 396 clang_saveTranslationUnit; 397 clang_sortCodeCompletionResults; 398 clang_suspendTranslationUnit; 399 clang_toggleCrashRecovery; 400 clang_tokenize; 401 clang_uninstall_llvm_fatal_error_handler; 402 clang_visitChildren; 403 clang_visitChildrenWithBlock; 404 405 local: *; 406}; 407 408LLVM_16 { 409 global: 410 clang_getUnqualifiedType; 411 clang_getNonReferenceType; 412 clang_CXXMethod_isDeleted; 413 clang_CXXMethod_isCopyAssignmentOperator; 414 clang_CXXMethod_isMoveAssignmentOperator; 415 clang_createAPISet; 416 clang_disposeAPISet; 417 clang_getSymbolGraphForCursor; 418 clang_getSymbolGraphForUSR; 419}; 420 421LLVM_17 { 422 global: 423 clang_CXXMethod_isExplicit; 424 clang_createIndexWithOptions; 425 clang_getBinaryOperatorKindSpelling; 426 clang_getCursorBinaryOperatorKind; 427 clang_getUnaryOperatorKindSpelling; 428 clang_getCursorUnaryOperatorKind; 429}; 430 431LLVM_19 { 432 global: 433 clang_Cursor_getBinaryOpcode; 434 clang_Cursor_getBinaryOpcodeStr; 435}; 436 437LLVM_20 { 438 global: 439 clang_getOffsetOfBase; 440 clang_getTypePrettyPrinted; 441 clang_isBeforeInTranslationUnit; 442 clang_visitCXXBaseClasses; 443}; 444 445# Example of how to add a new symbol version entry. If you do add a new symbol 446# version, please update the example to depend on the version you added. 447# LLVM_X { 448# global: 449# clang_newsymbol; 450# }; 451