[rebranch] Rename various functions to match new names in LLVM

llvm-project 601102d282d5e9a1429fea52ee17303aec8a7c10 renamed various
functions in `CharInfo.h` and `Lexer.h`. Rename uses in Swift.
This commit is contained in:
Ben Barham
2021-11-12 19:35:35 +10:00
parent c676dfc2fa
commit e139a2f2ea
3 changed files with 11 additions and 11 deletions

View File

@@ -1246,7 +1246,7 @@ llvm::Constant *IRGenModule::getOpaquePtr(llvm::Constant *ptr) {
}
static void appendEncodedName(raw_ostream &os, StringRef name) {
if (clang::isValidIdentifier(name)) {
if (clang::isValidAsciiIdentifier(name)) {
os << "_" << name;
} else {
for (auto c : name)