rewrite_to_chrome_style: Call to WTF::HashMap<K, V>::clear doesn't get rewritten |
||
Issue description
|clear| doesn't get rewritten to |Clear| here:
mojo/public/cpp/bindings/map_traits_wtf_hash_map.h:
...
#include "third_party/WebKit/Source/wtf/HashMap.h"
namespace mojo {
template <typename K, typename V>
struct MapTraits<WTF::HashMap<K, V>> {
...
static void SetToEmpty(WTF::HashMap<K, V>* output) { output->clear(); } <- HERE
};
} // namespace mojo
FWIW, I can locally repro with an extra test in tools/clang/rewrite_to_chrome_style/tests.
,
Dec 2 2016
,
Dec 8 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/864789b24b99adb37737475ae5315326bc78fa80 commit 864789b24b99adb37737475ae5315326bc78fa80 Author: lukasza <lukasza@chromium.org> Date: Thu Dec 08 20:34:32 2016 hasUnqualifiedDesugaredType now comes with clang - stop defining it outselves. BUG= 670434 Review-Url: https://codereview.chromium.org/2563733002 Cr-Commit-Position: refs/heads/master@{#437321} [modify] https://crrev.com/864789b24b99adb37737475ae5315326bc78fa80/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Dec 2 2016