llvm.org GIT mirror llvm / 0ebc084
Use LLVMBool instead of 'bool' in the C API. Based on a patch by Peter Zotov! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176793 91177308-0d34-0410-b5e6-96231b3b80d8 Nick Lewycky 6 years ago
2 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
7676 /** See llvm::PassManagerBuilder::populateLTOPassManager. */
7777 void LLVMPassManagerBuilderPopulateLTOPassManager(LLVMPassManagerBuilderRef PMB,
7878 LLVMPassManagerRef PM,
79 bool Internalize,
80 bool RunInliner);
79 LLVMBool Internalize,
80 LLVMBool RunInliner);
8181
8282 /**
8383 * @}
390390
391391 void LLVMPassManagerBuilderPopulateLTOPassManager(LLVMPassManagerBuilderRef PMB,
392392 LLVMPassManagerRef PM,
393 bool Internalize,
394 bool RunInliner) {
393 LLVMBool Internalize,
394 LLVMBool RunInliner) {
395395 PassManagerBuilder *Builder = unwrap(PMB);
396396 PassManagerBase *LPM = unwrap(PM);
397 Builder->populateLTOPassManager(*LPM, Internalize, RunInliner);
398 }
397 Builder->populateLTOPassManager(*LPM, Internalize != 0, RunInliner != 0);
398 }