[PATCH] D27353: [libFuzzer] Diff 14 - Detail. Same format for all header files.
Marcos Pividori via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 2 09:51:30 PST 2016
mpividori created this revision.
mpividori added reviewers: kcc, zturner.
mpividori added a subscriber: llvm-commits.
mpividori set the repository for this revision to rL LLVM.
Repository:
rL LLVM
https://reviews.llvm.org/D27353
Files:
lib/Fuzzer/FuzzerDefs.h
lib/Fuzzer/FuzzerDictionary.h
lib/Fuzzer/FuzzerExtFunctions.h
lib/Fuzzer/FuzzerIO.h
lib/Fuzzer/FuzzerSHA1.h
lib/Fuzzer/FuzzerUtil.h
Index: lib/Fuzzer/FuzzerUtil.h
===================================================================
--- lib/Fuzzer/FuzzerUtil.h
+++ lib/Fuzzer/FuzzerUtil.h
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
// Util functions.
//===----------------------------------------------------------------------===//
+
#ifndef LLVM_FUZZER_UTIL_H
#define LLVM_FUZZER_UTIL_H
@@ -72,4 +73,5 @@
const void *needle, size_t needlelen);
} // namespace fuzzer
+
#endif // LLVM_FUZZER_UTIL_H
Index: lib/Fuzzer/FuzzerSHA1.h
===================================================================
--- lib/Fuzzer/FuzzerSHA1.h
+++ lib/Fuzzer/FuzzerSHA1.h
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
// SHA1 utils.
//===----------------------------------------------------------------------===//
+
#ifndef LLVM_FUZZER_SHA1_H
#define LLVM_FUZZER_SHA1_H
@@ -28,4 +29,5 @@
std::string Hash(const Unit &U);
} // namespace fuzzer
+
#endif // LLVM_FUZZER_SHA1_H
Index: lib/Fuzzer/FuzzerIO.h
===================================================================
--- lib/Fuzzer/FuzzerIO.h
+++ lib/Fuzzer/FuzzerIO.h
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
// IO interface.
//===----------------------------------------------------------------------===//
+
#ifndef LLVM_FUZZER_IO_H
#define LLVM_FUZZER_IO_H
@@ -59,4 +60,5 @@
void DeleteFile(const std::string &Path);
} // namespace fuzzer
+
#endif // LLVM_FUZZER_IO_H
Index: lib/Fuzzer/FuzzerExtFunctions.h
===================================================================
--- lib/Fuzzer/FuzzerExtFunctions.h
+++ lib/Fuzzer/FuzzerExtFunctions.h
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
// Defines an interface to (possibly optional) functions.
//===----------------------------------------------------------------------===//
+
#ifndef LLVM_FUZZER_EXT_FUNCTIONS_H
#define LLVM_FUZZER_EXT_FUNCTIONS_H
@@ -30,4 +31,5 @@
#undef EXT_FUNC
};
} // namespace fuzzer
+
#endif
Index: lib/Fuzzer/FuzzerDictionary.h
===================================================================
--- lib/Fuzzer/FuzzerDictionary.h
+++ lib/Fuzzer/FuzzerDictionary.h
@@ -122,4 +122,3 @@
} // namespace fuzzer
#endif // LLVM_FUZZER_DICTIONARY_H
-
Index: lib/Fuzzer/FuzzerDefs.h
===================================================================
--- lib/Fuzzer/FuzzerDefs.h
+++ 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 uint64_t Bswap(uint64_t x) { return __builtin_bswap64(x); }
} // namespace fuzzer
+
#endif // LLVM_FUZZER_DEFS_H
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27353.80085.patch
Type: text/x-patch
Size: 2989 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161202/0806238a/attachment.bin>
More information about the llvm-commits
mailing list