| ... | ... | @@ -452,6 +452,83 @@ pub const ZigClangAPValueKind = extern enum { |
| 452 | 452 | AddrLabelDiff, |
| 453 | 453 | }; |
| 454 | 454 | |
| 455 | pub const ZigClangDeclKind = extern enum { |
| 456 | AccessSpec, |
| 457 | Block, |
| 458 | Captured, |
| 459 | ClassScopeFunctionSpecialization, |
| 460 | Empty, |
| 461 | Export, |
| 462 | ExternCContext, |
| 463 | FileScopeAsm, |
| 464 | Friend, |
| 465 | FriendTemplate, |
| 466 | Import, |
| 467 | LinkageSpec, |
| 468 | Label, |
| 469 | Namespace, |
| 470 | NamespaceAlias, |
| 471 | ObjCCompatibleAlias, |
| 472 | ObjCCategory, |
| 473 | ObjCCategoryImpl, |
| 474 | ObjCImplementation, |
| 475 | ObjCInterface, |
| 476 | ObjCProtocol, |
| 477 | ObjCMethod, |
| 478 | ObjCProperty, |
| 479 | BuiltinTemplate, |
| 480 | ClassTemplate, |
| 481 | FunctionTemplate, |
| 482 | TypeAliasTemplate, |
| 483 | VarTemplate, |
| 484 | TemplateTemplateParm, |
| 485 | Enum, |
| 486 | Record, |
| 487 | CXXRecord, |
| 488 | ClassTemplateSpecialization, |
| 489 | ClassTemplatePartialSpecialization, |
| 490 | TemplateTypeParm, |
| 491 | ObjCTypeParam, |
| 492 | TypeAlias, |
| 493 | Typedef, |
| 494 | UnresolvedUsingTypename, |
| 495 | Using, |
| 496 | UsingDirective, |
| 497 | UsingPack, |
| 498 | UsingShadow, |
| 499 | ConstructorUsingShadow, |
| 500 | Binding, |
| 501 | Field, |
| 502 | ObjCAtDefsField, |
| 503 | ObjCIvar, |
| 504 | Function, |
| 505 | CXXDeductionGuide, |
| 506 | CXXMethod, |
| 507 | CXXConstructor, |
| 508 | CXXConversion, |
| 509 | CXXDestructor, |
| 510 | MSProperty, |
| 511 | NonTypeTemplateParm, |
| 512 | Var, |
| 513 | Decomposition, |
| 514 | ImplicitParam, |
| 515 | OMPCapturedExpr, |
| 516 | ParmVar, |
| 517 | VarTemplateSpecialization, |
| 518 | VarTemplatePartialSpecialization, |
| 519 | EnumConstant, |
| 520 | IndirectField, |
| 521 | OMPDeclareReduction, |
| 522 | UnresolvedUsingValue, |
| 523 | OMPRequires, |
| 524 | OMPThreadPrivate, |
| 525 | ObjCPropertyImpl, |
| 526 | PragmaComment, |
| 527 | PragmaDetectMismatch, |
| 528 | StaticAssert, |
| 529 | TranslationUnit, |
| 530 | }; |
| 531 | |
| 455 | 532 | pub extern fn ZigClangSourceManager_getSpellingLoc(arg0: ?*const struct_ZigClangSourceManager, Loc: struct_ZigClangSourceLocation) struct_ZigClangSourceLocation; |
| 456 | 533 | pub extern fn ZigClangSourceManager_getFilename(self: *const struct_ZigClangSourceManager, SpellingLoc: struct_ZigClangSourceLocation) ?[*]const u8; |
| 457 | 534 | pub extern fn ZigClangSourceManager_getSpellingLineNumber(arg0: ?*const struct_ZigClangSourceManager, Loc: struct_ZigClangSourceLocation) c_uint; |
| ... | ... | @@ -632,83 +709,6 @@ pub extern fn ZigClangLoadFromCommandLine( |
| 632 | 709 | pub extern fn ZigClangDecl_getKind(decl: *const ZigClangDecl) ZigClangDeclKind; |
| 633 | 710 | pub extern fn ZigClangDecl_getDeclKindName(decl: *const struct_ZigClangDecl) [*]const u8; |
| 634 | 711 | |
| 635 | | pub const ZigClangDeclKind = extern enum { |
| 636 | | AccessSpec, |
| 637 | | Block, |
| 638 | | Captured, |
| 639 | | ClassScopeFunctionSpecialization, |
| 640 | | Empty, |
| 641 | | Export, |
| 642 | | ExternCContext, |
| 643 | | FileScopeAsm, |
| 644 | | Friend, |
| 645 | | FriendTemplate, |
| 646 | | Import, |
| 647 | | LinkageSpec, |
| 648 | | Label, |
| 649 | | Namespace, |
| 650 | | NamespaceAlias, |
| 651 | | ObjCCompatibleAlias, |
| 652 | | ObjCCategory, |
| 653 | | ObjCCategoryImpl, |
| 654 | | ObjCImplementation, |
| 655 | | ObjCInterface, |
| 656 | | ObjCProtocol, |
| 657 | | ObjCMethod, |
| 658 | | ObjCProperty, |
| 659 | | BuiltinTemplate, |
| 660 | | ClassTemplate, |
| 661 | | FunctionTemplate, |
| 662 | | TypeAliasTemplate, |
| 663 | | VarTemplate, |
| 664 | | TemplateTemplateParm, |
| 665 | | Enum, |
| 666 | | Record, |
| 667 | | CXXRecord, |
| 668 | | ClassTemplateSpecialization, |
| 669 | | ClassTemplatePartialSpecialization, |
| 670 | | TemplateTypeParm, |
| 671 | | ObjCTypeParam, |
| 672 | | TypeAlias, |
| 673 | | Typedef, |
| 674 | | UnresolvedUsingTypename, |
| 675 | | Using, |
| 676 | | UsingDirective, |
| 677 | | UsingPack, |
| 678 | | UsingShadow, |
| 679 | | ConstructorUsingShadow, |
| 680 | | Binding, |
| 681 | | Field, |
| 682 | | ObjCAtDefsField, |
| 683 | | ObjCIvar, |
| 684 | | Function, |
| 685 | | CXXDeductionGuide, |
| 686 | | CXXMethod, |
| 687 | | CXXConstructor, |
| 688 | | CXXConversion, |
| 689 | | CXXDestructor, |
| 690 | | MSProperty, |
| 691 | | NonTypeTemplateParm, |
| 692 | | Var, |
| 693 | | Decomposition, |
| 694 | | ImplicitParam, |
| 695 | | OMPCapturedExpr, |
| 696 | | ParmVar, |
| 697 | | VarTemplateSpecialization, |
| 698 | | VarTemplatePartialSpecialization, |
| 699 | | EnumConstant, |
| 700 | | IndirectField, |
| 701 | | OMPDeclareReduction, |
| 702 | | UnresolvedUsingValue, |
| 703 | | OMPRequires, |
| 704 | | OMPThreadPrivate, |
| 705 | | ObjCPropertyImpl, |
| 706 | | PragmaComment, |
| 707 | | PragmaDetectMismatch, |
| 708 | | StaticAssert, |
| 709 | | TranslationUnit, |
| 710 | | }; |
| 711 | | |
| 712 | 712 | pub const struct_ZigClangQualType = extern struct { |
| 713 | 713 | ptr: ?*c_void, |
| 714 | 714 | }; |