Index: tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp |
diff --git a/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp b/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp |
index fcbd9216513a5e389a9e0ed3e1c926ebbf2c01af..78df7a35440638fd7cada77ecc3919c48000fcec 100644 |
--- a/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp |
+++ b/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp |
@@ -432,9 +432,11 @@ int main(int argc, const char* argv[]) { |
// Overloaded operators have special names |
// and should never be renamed. |
isOverloadedOperator(), |
- // Similarly, constructors and destructors |
- // should not be considered for renaming. |
- cxxConstructorDecl(), cxxDestructorDecl())), |
+ // Similarly, constructors, destructors, and |
+ // conversion functions should not be |
+ // considered for renaming. |
+ cxxConstructorDecl(), cxxDestructorDecl(), |
+ cxxConversionDecl())), |
in_blink_namespace)); |
// Note that the matcher for overridden methods doesn't need to filter for |
// special member functions: see implementation of FunctionDeclRewriter for |