projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Trailing whitespace.
[oota-llvm.git]
/
include
/
llvm
/
LLVMContext.h
diff --git
a/include/llvm/LLVMContext.h
b/include/llvm/LLVMContext.h
index 4aa2c20ec2883f7055d06e6dfddb332c4a770c85..d4cd891d8a9f802c7848b48d8446d4b4783ea887 100644
(file)
--- a/
include/llvm/LLVMContext.h
+++ b/
include/llvm/LLVMContext.h
@@
-268,6
+268,10
@@
public:
// Other helpers
/// @brief Create a result type for fcmp/icmp
const Type* makeCmpResultType(const Type* opnd_type);
// Other helpers
/// @brief Create a result type for fcmp/icmp
const Type* makeCmpResultType(const Type* opnd_type);
+
+ // Methods for erasing constants
+ void erase(MDString *M);
+ void erase(MDNode *M);
};
/// FOR BACKWARDS COMPATIBILITY - Returns a global context.
};
/// FOR BACKWARDS COMPATIBILITY - Returns a global context.