aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Metadata.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h
index f773817..f5a80a3 100644
--- a/include/llvm/Metadata.h
+++ b/include/llvm/Metadata.h
@@ -38,7 +38,6 @@ class MDString : public Value {
MDString(const MDString &); // DO NOT IMPLEMENT
StringRef Str;
-protected:
explicit MDString(LLVMContext &C, StringRef S);
public:
@@ -111,9 +110,8 @@ class MDNode : public Value, public FoldingSetNode {
void replaceOperand(MDNodeOperand *Op, Value *NewVal);
~MDNode();
-protected:
- explicit MDNode(LLVMContext &C, Value *const *Vals, unsigned NumVals,
- bool isFunctionLocal);
+ MDNode(LLVMContext &C, Value *const *Vals, unsigned NumVals,
+ bool isFunctionLocal);
static MDNode *getMDNode(LLVMContext &C, Value *const *Vals, unsigned NumVals,
FunctionLocalness FL, bool Insert = true);
@@ -201,7 +199,6 @@ class NamedMDNode : public ilist_node<NamedMDNode> {
void setParent(Module *M) { Parent = M; }
-protected:
explicit NamedMDNode(const Twine &N);
public: