Merge remote-tracking branch 'origin/main' into rebranch

This commit is contained in:
swift-ci
2024-06-28 11:36:11 -07:00
35 changed files with 93 additions and 95 deletions

View File

@@ -355,10 +355,10 @@ inline bool isNumeric(llvm::StringRef S) {
return false;
}
inline bool isNull(llvm::StringRef S) { return S.equals("null"); }
inline bool isNull(llvm::StringRef S) { return S == "null"; }
inline bool isBool(llvm::StringRef S) {
return S.equals("true") || S.equals("false");
return S == "true" || S == "false";
}
template<typename T>