mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 22:13:25 -10:00
Roll GYP for VS2017 project support.
Also includes a ToLower string helper for a VS2017 warning fix. https://chromium.googlesource.com/external/gyp.git/+log/aae1e3efb50786df2..c6f471687407bf28d BUG=angleproject:1569 Change-Id: Iaf8a091a24d937db3adb242f05c8a5c9d2b03b0f Reviewed-on: https://chromium-review.googlesource.com/659219 Reviewed-by: Jamie Madill <[email protected]> Reviewed-by: Frank Henigman <[email protected]> Commit-Queue: Jamie Madill <[email protected]>
This commit is contained in:
1 parent
1aa66bc73d
commit
ef97c613f8
6 files changed
+19
-4
No files matched your search
@@ -179,4 +179,12 @@ bool EndsWith(const std::string &str, const char *suffix)
|
||||
return memcmp(end, suffix, len) == 0;
|
||||
}
|
||||
|
||||
void ToLower(std::string *str)
|
||||
{
|
||||
for (auto &ch : *str)
|
||||
{
|
||||
ch = static_cast<char>(::tolower(ch));
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace angle
|
||||
Reference in new issue
Block a user