Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: tools/clang/rewrite_to_chrome_style/tests/function-templates-expected.cc

Issue 2601063002: Blacklisting of method names coming from std library. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/clang/rewrite_to_chrome_style/tests/function-templates-expected.cc
diff --git a/tools/clang/rewrite_to_chrome_style/tests/function-templates-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/function-templates-expected.cc
index 8d064a1816cfc8a15efd8c48d8507161c109141f..402ae44b85e48f7717ab47af9ca509f125be64a3 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/function-templates-expected.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/function-templates-expected.cc
@@ -36,7 +36,7 @@ class Checked {
};
template <typename To, typename From>
-To Bitwise_cast(From from) {
+To bitwise_cast(From from) {
static_assert(sizeof(To) == sizeof(From), "msg");
return reinterpret_cast<To>(from);
}
@@ -60,5 +60,5 @@ struct ArrayTraits<WTF::Checked<U, int>> {
} // namespace mojo
-using WTF::Bitwise_cast;
+using WTF::bitwise_cast;
using WTF::SafeCast;

Powered by Google App Engine
This is Rietveld 408576698