diff options
author | JF Bastien <jfbastien@apple.com> | 2018-09-21 13:54:09 +0000 |
---|---|---|
committer | JF Bastien <jfbastien@apple.com> | 2018-09-21 13:54:09 +0000 |
commit | 2f0582fcc73f231d60e8e10c1af5ad5a1891457c (patch) | |
tree | b1365de21c5f628b87a2fd1a57c5fb02e6d52260 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | af2c73e13d351d92de07a1f849ba9f87906722ad (diff) | |
download | llvm-2f0582fcc73f231d60e8e10c1af5ad5a1891457c.zip llvm-2f0582fcc73f231d60e8e10c1af5ad5a1891457c.tar.gz llvm-2f0582fcc73f231d60e8e10c1af5ad5a1891457c.tar.bz2 |
NFC: deduplicate isRepeatedBytePattern from clang to LLVM's isBytewiseValue
Summary:
This code was in CGDecl.cpp and really belongs in LLVM. It happened to have isBytewiseValue which served a very similar purpose but wasn't as powerful as clang's version. Remove the clang version, and augment isBytewiseValue to be as powerful so that clang does the same thing it used to.
LLVM part of this patch: D51751
Subscribers: dexonsmith, cfe-commits
Differential Revision: https://reviews.llvm.org/D51752
llvm-svn: 342734
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions