Changeset 201288 in webkit
- Timestamp:
- May 23, 2016 9:46:38 AM (8 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r201263 r201288 1 2016-05-23 Brady Eidson <beidson@apple.com> 2 3 check-webkit-style gets flags std::literals::chrono_literals as bad naming. 4 https://bugs.webkit.org/show_bug.cgi?id=157969 5 6 Reviewed by Alex Christensen. 7 8 * Scripts/webkitpy/style/checkers/cpp.py: 9 (check_identifier_name_in_declaration): 10 * Scripts/webkitpy/style/checkers/cpp_unittest.py: 11 (WebKitStyleTest.test_names): 12 1 13 2016-05-22 Alexey Proskuryakov <ap@apple.com> 2 14 -
trunk/Tools/Scripts/webkitpy/style/checkers/cpp.py
r200913 r201288 3401 3401 and not modified_identifier == "const_iterator" 3402 3402 and not modified_identifier == "vm_throw" 3403 and not modified_identifier == "DFG_OPERATION"): 3403 and not modified_identifier == "DFG_OPERATION" 3404 and not modified_identifier.find('chrono_literals') >= 0): 3404 3405 error(line_number, 'readability/naming/underscores', 4, identifier + " is incorrectly named. Don't use underscores in your identifier names.") 3405 3406 -
trunk/Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py
r200913 r201288 5173 5173 self.assert_lint('typedef VectorType::const_iterator const_iterator;', '') 5174 5174 5175 # chrono_literals is allowed as well. 5176 self.assert_lint('using namespace std::literals::chrono_literals;', '') 5177 5175 5178 # vm_throw is allowed as well. 5176 5179 self.assert_lint('int vm_throw;', '')
Note: See TracChangeset
for help on using the changeset viewer.