mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-28 15:54:00 +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();
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
static bool isCanonical(const MDString *S) {
|
||||
return !S || !S->getString().empty();
|
||||
}
|
||||
#endif
|
||||
|
||||
GenericDebugNode *GenericDebugNode::getImpl(LLVMContext &Context, unsigned Tag,
|
||||
MDString *Header,
|
||||
|
Loading…
x
Reference in New Issue
Block a user