diff options
Diffstat (limited to 'include/llvm/LLVMContext.h')
-rw-r--r-- | include/llvm/LLVMContext.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h index 0751ccd83a..53b0868ec2 100644 --- a/include/llvm/LLVMContext.h +++ b/include/llvm/LLVMContext.h @@ -275,10 +275,13 @@ public: void erase(MDNode *M); void erase(ConstantAggregateZero *Z); void erase(ConstantArray *Z); + void erase(ConstantStruct *S); // RAUW helpers Constant *replaceUsesOfWithOnConstant(ConstantArray *CA, Value *From, Value *To, Use *U); + Constant *replaceUsesOfWithOnConstant(ConstantStruct *CS, Value *From, + Value *To, Use *U); }; /// FOR BACKWARDS COMPATIBILITY - Returns a global context. |