mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user