[compiler-rt] r368448 - [compiler-rt] FuzzedDataProvider: use C++ headers only instead of a C/C++ mix.

Max Moroz via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 9 09:00:53 PDT 2019


Author: dor1s
Date: Fri Aug  9 09:00:53 2019
New Revision: 368448

URL: http://llvm.org/viewvc/llvm-project?rev=368448&view=rev
Log:
[compiler-rt] FuzzedDataProvider: use C++ headers only instead of a C/C++ mix.

Reviewers: Dor1s

Reviewed By: Dor1s

Subscribers: dberris, delcypher, #sanitizers, llvm-commits

Tags: #llvm, #sanitizers

Differential Revision: https://reviews.llvm.org/D66017

Modified:
    compiler-rt/trunk/include/fuzzer/FuzzedDataProvider.h

Modified: compiler-rt/trunk/include/fuzzer/FuzzedDataProvider.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/include/fuzzer/FuzzedDataProvider.h?rev=368448&r1=368447&r2=368448&view=diff
==============================================================================
--- compiler-rt/trunk/include/fuzzer/FuzzedDataProvider.h (original)
+++ compiler-rt/trunk/include/fuzzer/FuzzedDataProvider.h Fri Aug  9 09:00:53 2019
@@ -13,11 +13,10 @@
 #ifndef LLVM_FUZZER_FUZZED_DATA_PROVIDER_H_
 #define LLVM_FUZZER_FUZZED_DATA_PROVIDER_H_
 
-#include <limits.h>
-#include <stddef.h>
-#include <stdint.h>
-
 #include <algorithm>
+#include <climits>
+#include <cstddef>
+#include <cstdint>
 #include <cstring>
 #include <initializer_list>
 #include <string>




More information about the llvm-commits mailing list