We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c56a313 + b82c6bd commit 8879ae5Copy full SHA for 8879ae5
lib/AST/SearchPathOptions.cpp
@@ -93,7 +93,7 @@ static std::string computeSDKPlatformPath(StringRef SDKPath,
93
llvm::sys::path::remove_filename(platformPath); // SDKs
94
llvm::sys::path::remove_filename(platformPath); // Developer
95
96
- if (!llvm::sys::path::filename(platformPath).endswith(".platform"))
+ if (!llvm::sys::path::filename(platformPath).ends_with(".platform"))
97
return "";
98
99
return platformPath.str().str();
0 commit comments