| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // Changes Blink-style names to Chrome-style names. Currently transforms: | 5 // Changes Blink-style names to Chrome-style names. Currently transforms: |
| 6 // fields: | 6 // fields: |
| 7 // int m_operationCount => int operation_count_ | 7 // int m_operationCount => int operation_count_ |
| 8 // variables (including parameters): | 8 // variables (including parameters): |
| 9 // int mySuperVariable => int my_super_variable | 9 // int mySuperVariable => int my_super_variable |
| 10 // constants: | 10 // constants: |
| (...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 "animationWorklet", | 661 "animationWorklet", |
| 662 "attrNodeList", | 662 "attrNodeList", |
| 663 "audioWorklet", | 663 "audioWorklet", |
| 664 "binaryType", | 664 "binaryType", |
| 665 "blob", | 665 "blob", |
| 666 "channelCountMode", | 666 "channelCountMode", |
| 667 "color", | 667 "color", |
| 668 "compositorElementId", | 668 "compositorElementId", |
| 669 "constructionStack", | 669 "constructionStack", |
| 670 "counterDirectives", | 670 "counterDirectives", |
| 671 "counterMaps" | 671 "counterMaps", |
| 672 "document", | 672 "document", |
| 673 "dragOperation", | 673 "dragOperation", |
| 674 "element", | 674 "element", |
| 675 "emptyChromeClient", | 675 "emptyChromeClient", |
| 676 "emptyEditorClient", | 676 "emptyEditorClient", |
| 677 "emptySpellCheckerClient", | 677 "emptySpellCheckerClient", |
| 678 "entryType", | 678 "entryType", |
| 679 "error", | 679 "error", |
| 680 "eventTargetDataMap", | 680 "eventTargetDataMap", |
| 681 "fileUtilities", | 681 "fileUtilities", |
| (...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1943 for (const auto& r : replacements) { | 1943 for (const auto& r : replacements) { |
| 1944 std::string replacement_text = r.getReplacementText().str(); | 1944 std::string replacement_text = r.getReplacementText().str(); |
| 1945 std::replace(replacement_text.begin(), replacement_text.end(), '\n', '\0'); | 1945 std::replace(replacement_text.begin(), replacement_text.end(), '\n', '\0'); |
| 1946 llvm::outs() << "r:::" << r.getFilePath() << ":::" << r.getOffset() | 1946 llvm::outs() << "r:::" << r.getFilePath() << ":::" << r.getOffset() |
| 1947 << ":::" << r.getLength() << ":::" << replacement_text << "\n"; | 1947 << ":::" << r.getLength() << ":::" << replacement_text << "\n"; |
| 1948 } | 1948 } |
| 1949 llvm::outs() << "==== END EDITS ====\n"; | 1949 llvm::outs() << "==== END EDITS ====\n"; |
| 1950 | 1950 |
| 1951 return 0; | 1951 return 0; |
| 1952 } | 1952 } |
| OLD | NEW |