d: Use startswith function instead of strncmp
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 18 May 2021 20:56:10 +0000 (22:56 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Tue, 18 May 2021 21:01:30 +0000 (23:01 +0200)
commitf87ce01441881cbb3093e3ddace875c0ed23e595
tree35bf09a7506ee928d4f4ecbf605e5b205b8d5337
parent3e0ad85638b8b7085add06b4afd77cbbf3549631
d: Use startswith function instead of strncmp

gcc/d/ChangeLog:

* types.cc (TypeVisitor::visit (TypeEnum *)): Use startswith function
instead of strncmp.
gcc/d/types.cc