make their protected members private. And remove an unnecessary
explicit keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111915
91177308-0d34-0410-b5e6-
96231b3b80d8
MDString(const MDString &); // DO NOT IMPLEMENT
StringRef Str;
MDString(const MDString &); // DO NOT IMPLEMENT
StringRef Str;
explicit MDString(LLVMContext &C, StringRef S);
public:
explicit MDString(LLVMContext &C, StringRef S);
public:
void replaceOperand(MDNodeOperand *Op, Value *NewVal);
~MDNode();
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);
static MDNode *getMDNode(LLVMContext &C, Value *const *Vals, unsigned NumVals,
FunctionLocalness FL, bool Insert = true);
void setParent(Module *M) { Parent = M; }
void setParent(Module *M) { Parent = M; }
explicit NamedMDNode(const Twine &N);
public:
explicit NamedMDNode(const Twine &N);
public: