File tree 1 file changed +2
-26
lines changed
compiler/rustc_codegen_llvm/src/llvm
1 file changed +2
-26
lines changed Original file line number Diff line number Diff line change @@ -560,13 +560,11 @@ pub enum ArchiveKind {
560
560
K_AIXBIG ,
561
561
}
562
562
563
- // LLVMRustThinLTOData
564
563
unsafe extern "C" {
564
+ // LLVMRustThinLTOData
565
565
pub type ThinLTOData ;
566
- }
567
566
568
- // LLVMRustThinLTOBuffer
569
- unsafe extern "C" {
567
+ // LLVMRustThinLTOBuffer
570
568
pub type ThinLTOBuffer ;
571
569
}
572
570
@@ -630,26 +628,12 @@ struct InvariantOpaque<'a> {
630
628
// Opaque pointer types
631
629
unsafe extern "C" {
632
630
pub type Module ;
633
- }
634
- unsafe extern "C" {
635
631
pub type Context ;
636
- }
637
- unsafe extern "C" {
638
632
pub type Type ;
639
- }
640
- unsafe extern "C" {
641
633
pub type Value ;
642
- }
643
- unsafe extern "C" {
644
634
pub type ConstantInt ;
645
- }
646
- unsafe extern "C" {
647
635
pub type Attribute ;
648
- }
649
- unsafe extern "C" {
650
636
pub type Metadata ;
651
- }
652
- unsafe extern "C" {
653
637
pub type BasicBlock ;
654
638
}
655
639
#[ repr( C ) ]
@@ -658,11 +642,7 @@ pub struct Builder<'a>(InvariantOpaque<'a>);
658
642
pub struct PassManager < ' a > ( InvariantOpaque < ' a > ) ;
659
643
unsafe extern "C" {
660
644
pub type Pass ;
661
- }
662
- unsafe extern "C" {
663
645
pub type TargetMachine ;
664
- }
665
- unsafe extern "C" {
666
646
pub type Archive ;
667
647
}
668
648
#[ repr( C ) ]
@@ -671,11 +651,7 @@ pub struct ArchiveIterator<'a>(InvariantOpaque<'a>);
671
651
pub struct ArchiveChild < ' a > ( InvariantOpaque < ' a > ) ;
672
652
unsafe extern "C" {
673
653
pub type Twine ;
674
- }
675
- unsafe extern "C" {
676
654
pub type DiagnosticInfo ;
677
- }
678
- unsafe extern "C" {
679
655
pub type SMDiagnostic ;
680
656
}
681
657
#[ repr( C ) ]
You can’t perform that action at this time.
0 commit comments