[compiler-rt] 1e65209 - [compiler-rt] FuzzedDataProvider: make linter happy.

Max Moroz via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 25 00:39:31 PDT 2020


Author: Max Moroz
Date: 2020-03-25T00:39:17-07:00
New Revision: 1e65209e045598c3ca5833331215606a02267229

URL: https://github.com/llvm/llvm-project/commit/1e65209e045598c3ca5833331215606a02267229
DIFF: https://github.com/llvm/llvm-project/commit/1e65209e045598c3ca5833331215606a02267229.diff

LOG: [compiler-rt] FuzzedDataProvider: make linter happy.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/compiler-rt/include/fuzzer/FuzzedDataProvider.h b/compiler-rt/include/fuzzer/FuzzedDataProvider.h
index 4945acf45473..21d5fac457d6 100644
--- a/compiler-rt/include/fuzzer/FuzzedDataProvider.h
+++ b/compiler-rt/include/fuzzer/FuzzedDataProvider.h
@@ -27,7 +27,7 @@
 // In addition to the comments below, the API is also briefly documented at
 // https://github.com/google/fuzzing/blob/master/docs/split-inputs.md#fuzzed-data-provider
 class FuzzedDataProvider {
-public:
+ public:
   // |data| is an array of length |size| that the FuzzedDataProvider wraps to
   // provide more granular access. |data| must outlive the FuzzedDataProvider.
   FuzzedDataProvider(const uint8_t *data, size_t size)
@@ -79,7 +79,7 @@ class FuzzedDataProvider {
   // Reports the remaining bytes available for fuzzed input.
   size_t remaining_bytes() { return remaining_bytes_; }
 
-private:
+ private:
   FuzzedDataProvider(const FuzzedDataProvider &) = delete;
   FuzzedDataProvider &operator=(const FuzzedDataProvider &) = delete;
 


        


More information about the llvm-commits mailing list