commit | 75e098bf43c0d997e3280b7eb8f95843b85b3358 | [log] [tgz] |
---|---|---|
author | Artem Belevich <tra@google.com> | Tue Sep 18 21:51:02 2018 +0000 |
committer | Artem Belevich <tra@google.com> | Tue Sep 18 21:51:02 2018 +0000 |
tree | 7e0898d9784dd6ffe15e48b1c5ddf774787b99d5 | |
parent | 96b05ccba72740d382b7866763ea2e28b3f5aec3 [diff] |
[clang-tidy] Replace redundant checks with an assert(). findStyleKind is only called if D is an explicit identifier with a name, so the checks for operators will never return true. The explicit assert() enforces this invariant. Differential Revision: https://reviews.llvm.org/D52179 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@342514 91177308-0d34-0410-b5e6-96231b3b80d8