diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 22:55:34 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 22:55:34 +0000 |
commit | f976c856fcc5055f3fc7d9f070d72c2d027c1d9d (patch) | |
tree | f2c13bd9a96ee1245b89075c2f44cef20e82e307 /lib/Support/FileUtilities.cpp | |
parent | d1c881a8d4da8b4d99c2a40512fbcca652ab445e (diff) |
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/FileUtilities.cpp')
-rw-r--r-- | lib/Support/FileUtilities.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Support/FileUtilities.cpp b/lib/Support/FileUtilities.cpp index 6a65ccae3e..dd296f30a2 100644 --- a/lib/Support/FileUtilities.cpp +++ b/lib/Support/FileUtilities.cpp @@ -1,10 +1,10 @@ //===- Support/FileUtilities.cpp - File System Utilities ------------------===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This file implements a family of utility functions which are useful for doing @@ -24,7 +24,7 @@ using namespace llvm; static bool isNumberChar(char C) { switch (C) { case '0': case '1': case '2': case '3': case '4': - case '5': case '6': case '7': case '8': case '9': + case '5': case '6': case '7': case '8': case '9': case '.': case '+': case '-': case 'e': case 'E': return true; @@ -47,7 +47,7 @@ static bool CompareNumbers(char *&F1P, char *&F2P, char *F1End, char *F2End, double AbsTolerance, double RelTolerance, std::string *ErrorMsg) { char *F1NumEnd, *F2NumEnd; - double V1 = 0.0, V2 = 0.0; + double V1 = 0.0, V2 = 0.0; // If one of the positions is at a space and the other isn't, chomp up 'til // the end of the space. @@ -142,7 +142,7 @@ int llvm::DiffFilesWithTolerance(const sys::Path &FileA, return 1; // Now its safe to mmap the files into memory becasue both files - // have a non-zero size. + // have a non-zero size. sys::MappedFile F1(FileA); sys::MappedFile F2(FileB); F1.map(); @@ -171,7 +171,7 @@ int llvm::DiffFilesWithTolerance(const sys::Path &FileA, // If the files need padding, do so now. PadFileIfNeeded(File1Start, File1End, F1P); PadFileIfNeeded(File2Start, File2End, F2P); - + bool CompareFailed = false; while (1) { // Scan for the end of file or next difference. |