forked from OSchip/llvm-project
[llvm-tapi-diff] Wrap empty string around StringLiteral NFC
This prevents invalid implicit conversation which caused buildbot failure.
This commit is contained in:
parent
8321335fd8
commit
fb9f9497dc
|
@ -63,7 +63,7 @@ DiffScalarVal<bool, AD_Diff_Scalar_Bool>::print(raw_ostream &OS,
|
|||
StringLiteral SymScalar::getSymbolNamePrefix(MachO::SymbolKind Kind) {
|
||||
switch (Kind) {
|
||||
case MachO::SymbolKind::GlobalSymbol:
|
||||
return "";
|
||||
return StringLiteral("");
|
||||
case MachO::SymbolKind::ObjectiveCClass:
|
||||
return ObjC2MetaClassNamePrefix;
|
||||
case MachO::SymbolKind ::ObjectiveCClassEHType:
|
||||
|
|
Loading…
Reference in New Issue