Add style script rule to check for uses of std::optional<>
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Dec 2018 00:38:25 +0000 (00:38 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Dec 2018 00:38:25 +0000 (00:38 +0000)
commit634f1fbf21246694297008aeb261893ad57e5d6d
tree352a9eb57b6dea128d89e30a62997f70f29f86a4
parent45e430e6cbcf6fccd553a48ac0e0bb5230413777
Add style script rule to check for uses of std::optional<>
https://bugs.webkit.org/show_bug.cgi?id=192931

Reviewed by Tim Horton.

* Scripts/webkitpy/style/checkers/cpp.py:
(check_wtf_optional):
(check_style):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/style/checkers/cpp.py
Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py