HomePhabricator

Use %z for size_t and avoid deprecated string functions

Authored by rnk on Jan 6 2017, 10:22 AM.

Description

Use %z for size_t and avoid deprecated string functions

This usage of strcpy and snprintf was certainly safe, but using them
sets off various deprecation and lint warnings. Easier to just write the
belt and suspenders version.

llvm-svn: 291256

Details

Committed
rnkJan 6 2017, 10:22 AM
Parents
rG887602ae73f0: [CUDA] Add a host target triple to cuda-version-check.cu
Branches
Unknown
Tags
Unknown