Merge "Update clang version to clang-r498229" into main
This commit is contained in:
@@ -15,5 +15,5 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
export LLVM_BUILD_HOST_TOOLS=true
|
export LLVM_BUILD_HOST_TOOLS=true
|
||||||
export LLVM_PREBUILTS_VERSION=clang-r487747c
|
export LLVM_PREBUILTS_VERSION=clang-r498229
|
||||||
export LLVM_RELEASE_VERSION=17
|
export LLVM_RELEASE_VERSION=17
|
||||||
|
|||||||
@@ -92,7 +92,9 @@ llvm::Optional<int> ParseInt(const std::string &s) {
|
|||||||
|
|
||||||
bool ParseBool(const std::string &s) {
|
bool ParseBool(const std::string &s) {
|
||||||
std::string value(s);
|
std::string value(s);
|
||||||
std::transform(value.begin(), value.end(), value.begin(), std::tolower);
|
std::transform(value.begin(), value.end(), value.begin(),
|
||||||
|
[](unsigned char c){ return std::tolower(c); }
|
||||||
|
);
|
||||||
return (value == "true" || value == "on" || value == "1");
|
return (value == "true" || value == "on" || value == "1");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user