diff options
author | Marcos Pividori <mpividori@google.com> | 2016-12-13 17:46:11 +0000 |
---|---|---|
committer | Marcos Pividori <mpividori@google.com> | 2016-12-13 17:46:11 +0000 |
commit | 178fe587454a4decec0b2c9c05f71fcb44cd9311 (patch) | |
tree | 68149874add8d67b8ce7be08a47bee7bb1a6d8d4 /llvm/lib/Fuzzer/FuzzerDefs.h | |
parent | 6e3d885c791b5d6f2120c0ec345b5604851709d2 (diff) | |
download | bcm5719-llvm-178fe587454a4decec0b2c9c05f71fcb44cd9311.tar.gz bcm5719-llvm-178fe587454a4decec0b2c9c05f71fcb44cd9311.zip |
[libFuzzer] Clean up headers and file formatting of LibFuzzer files.
Reorganize #includes to follow LLVM Coding Standards.
Include some missing headers. Required to use `Printf()`.
Aside from that, this patch contains no functional change.
It is purely a re-organization.
Differential Revision: https://reviews.llvm.org/D27363
llvm-svn: 289560
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerDefs.h')
-rw-r--r-- | llvm/lib/Fuzzer/FuzzerDefs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerDefs.h b/llvm/lib/Fuzzer/FuzzerDefs.h index 89d675ac1a4..a699045842b 100644 --- a/llvm/lib/Fuzzer/FuzzerDefs.h +++ b/llvm/lib/Fuzzer/FuzzerDefs.h @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// // Basic definitions. //===----------------------------------------------------------------------===// + #ifndef LLVM_FUZZER_DEFS_H #define LLVM_FUZZER_DEFS_H @@ -77,4 +78,5 @@ inline uint32_t Bswap(uint32_t x) { return __builtin_bswap32(x); } inline uint64_t Bswap(uint64_t x) { return __builtin_bswap64(x); } } // namespace fuzzer + #endif // LLVM_FUZZER_DEFS_H |