[clang] aef76fe - [clang-format][NFC] Reformat clang/tools/clang-format/fuzzer/

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 14 18:58:10 PST 2023


Author: Owen Pan
Date: 2023-02-14T18:58:01-08:00
New Revision: aef76fe554ee9426b8915e67ae50cecb8dba2e0e

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

LOG: [clang-format][NFC] Reformat clang/tools/clang-format/fuzzer/

Added: 
    

Modified: 
    clang/tools/clang-format/fuzzer/ClangFormatFuzzer.cpp

Removed: 
    


################################################################################
diff  --git a/clang/tools/clang-format/fuzzer/ClangFormatFuzzer.cpp b/clang/tools/clang-format/fuzzer/ClangFormatFuzzer.cpp
index d39d8da0ccb83..f90cdf5ab60db 100644
--- a/clang/tools/clang-format/fuzzer/ClangFormatFuzzer.cpp
+++ b/clang/tools/clang-format/fuzzer/ClangFormatFuzzer.cpp
@@ -23,6 +23,7 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
   auto Result = applyAllReplacements(s, Replaces);
 
   // Output must be checked, as otherwise we crash.
-  if (!Result) {}
+  if (!Result) {
+  }
   return 0;
 }


        


More information about the cfe-commits mailing list