mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-05 20:07:48 +00:00
Fix the -Werror build, NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2a11d59014
commit
48da191fb3
@ -77,9 +77,11 @@ static StringRef getString(const MDString *S) {
|
|||||||
return StringRef();
|
return StringRef();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
static bool isCanonical(const MDString *S) {
|
static bool isCanonical(const MDString *S) {
|
||||||
return !S || !S->getString().empty();
|
return !S || !S->getString().empty();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
GenericDebugNode *GenericDebugNode::getImpl(LLVMContext &Context, unsigned Tag,
|
GenericDebugNode *GenericDebugNode::getImpl(LLVMContext &Context, unsigned Tag,
|
||||||
MDString *Header,
|
MDString *Header,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user