projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8321335
)
[llvm-tapi-diff] Wrap empty string around StringLiteral NFC
author
Cyndy Ishida
<cyndy_ishida@apple.com>
Wed, 23 Jun 2021 18:39:35 +0000
(11:39 -0700)
committer
Cyndy Ishida
<cyndy_ishida@apple.com>
Wed, 23 Jun 2021 18:41:03 +0000
(11:41 -0700)
This prevents invalid implicit conversation which caused buildbot
failure.
llvm/tools/llvm-tapi-diff/DiffEngine.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/llvm-tapi-diff/DiffEngine.cpp
b/llvm/tools/llvm-tapi-diff/DiffEngine.cpp
index
481d35f
..
ff60d52
100644
(file)
--- a/
llvm/tools/llvm-tapi-diff/DiffEngine.cpp
+++ b/
llvm/tools/llvm-tapi-diff/DiffEngine.cpp
@@
-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: