Skip to content
Commit 4f23bee0 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

Prefer StringRef::startswith to the strncmp/strlen contraption.

This may be slightly more efficient and is definitely more readable.

llvm-svn: 165217
parent cd679fda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment