File tree 2 files changed +0
-9
lines changed
librustc_codegen_llvm/llvm
2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -1382,7 +1382,6 @@ extern "C" {
1382
1382
pub fn LLVMRustDebugMetadataVersion ( ) -> u32 ;
1383
1383
pub fn LLVMRustVersionMajor ( ) -> u32 ;
1384
1384
pub fn LLVMRustVersionMinor ( ) -> u32 ;
1385
- pub fn LLVMRustIsRustLLVM ( ) -> bool ;
1386
1385
1387
1386
pub fn LLVMRustAddModuleFlag ( M : & Module , name : * const c_char , value : u32 ) ;
1388
1387
Original file line number Diff line number Diff line change @@ -613,14 +613,6 @@ extern "C" uint32_t LLVMRustVersionMinor() { return LLVM_VERSION_MINOR; }
613
613
614
614
extern " C" uint32_t LLVMRustVersionMajor () { return LLVM_VERSION_MAJOR; }
615
615
616
- extern " C" bool LLVMRustIsRustLLVM () {
617
- #ifdef LLVM_RUSTLLVM
618
- return 1 ;
619
- #else
620
- return 0 ;
621
- #endif
622
- }
623
-
624
616
extern " C" void LLVMRustAddModuleFlag (LLVMModuleRef M, const char *Name,
625
617
uint32_t Value) {
626
618
unwrap (M)->addModuleFlag (Module::Warning, Name, Value);
You can’t perform that action at this time.
0 commit comments