diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2018-05-09 11:38:57 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2018-05-09 11:38:57 +0000 |
commit | ccb0fbe9a0352765e0b9aeb2741432bfebf39d82 (patch) | |
tree | 36ae2f529dfdc28b351c45c50612f3ca734ca7aa /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 7b307bced386bf0d9f8862d6e504dfcf461b4efb (diff) | |
download | llvm-ccb0fbe9a0352765e0b9aeb2741432bfebf39d82.zip llvm-ccb0fbe9a0352765e0b9aeb2741432bfebf39d82.tar.gz llvm-ccb0fbe9a0352765e0b9aeb2741432bfebf39d82.tar.bz2 |
Revert "[InstCombine] snprintf optimizations"
This reverts commit r331849. It miscompiles
snprintf(buf, sizeof(buf), "%s", "any constant string); into
memcpy(buf, "%s", sizeof("any constant string"));
llvm-svn: 331866
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions