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

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


Dor1s created this revision.
Herald added subscribers: llvm-commits, Sanitizers, delcypher, dberris.
Herald added projects: LLVM, Sanitizers.
Dor1s accepted this revision.
Dor1s added a comment.
This revision is now accepted and ready to land.

Trivial change.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D66017

Files:
  include/fuzzer/FuzzedDataProvider.h


Index: include/fuzzer/FuzzedDataProvider.h
===================================================================
--- include/fuzzer/FuzzedDataProvider.h
+++ include/fuzzer/FuzzedDataProvider.h
@@ -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>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66017.214385.patch
Type: text/x-patch
Size: 518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190809/9729d336/attachment.bin>


More information about the llvm-commits mailing list