diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-02-12 04:25:05 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-02-12 04:25:05 +0000 |
commit | 3db633ab810d4ef3697b830dc23814118b2e7c52 (patch) | |
tree | 3b670a2cc820b06553cddacc2039ba17f2095b1e /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | a6b32ccec40567846ac6a30e20058bb76bab55d9 (diff) | |
download | llvm-3db633ab810d4ef3697b830dc23814118b2e7c52.zip llvm-3db633ab810d4ef3697b830dc23814118b2e7c52.tar.gz llvm-3db633ab810d4ef3697b830dc23814118b2e7c52.tar.bz2 |
unwind: use explicit memcpy for register saving
Convert the register saving code to use an explicit memcpy rather than the
implicit memcpy from the assignment. This avoids warnings from -Wcast-qual on
GCC and makes the code more explicit. Furthermore, use sizeof to calculate the
offsets rather than adding magic numbers, improving legibility of the code.
NFC.
llvm-svn: 228904
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions