Mark implicit coroutine variables as being implicit
authorEmma Blink <emmablink@fb.com>
Wed, 16 Dec 2020 19:42:07 +0000 (14:42 -0500)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 16 Dec 2020 19:42:07 +0000 (14:42 -0500)
commit7685d818ef329cd3f6ef121af1208be409eb59db
tree279eb6da64308a440b9c31fe27aada609aaeacb7
parent900d71a851db5d50a52906c0146451b4b71cd85f
Mark implicit coroutine variables as being implicit

This prevents the clang-tidy readability-identifier-naming check from
triggering on implicit __coro_gro and __promise variables in coroutines.
clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/system/coroutines.h [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming.cpp
clang/lib/Sema/SemaCoroutine.cpp