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.
endswith
1 parent 7907f1f commit b82c6bdCopy full SHA for b82c6bd
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