|
LLVM
3.7.0
|
#include "llvm/Support/FileUtilities.h"#include "llvm/ADT/SmallString.h"#include "llvm/Support/MemoryBuffer.h"#include "llvm/Support/Path.h"#include "llvm/Support/raw_ostream.h"#include <cctype>#include <cstdlib>#include <cstring>#include <system_error>Go to the source code of this file.
Functions | |
| static bool | isSignedChar (char C) |
| static bool | isExponentChar (char C) |
| static bool | isNumberChar (char C) |
| static const char * | BackupNumber (const char *Pos, const char *FirstChar) |
| static const char * | EndOfNumber (const char *Pos) |
| EndOfNumber - Return the first character that is not part of the specified number. More... | |
| static bool | CompareNumbers (const char *&F1P, const char *&F2P, const char *F1End, const char *F2End, double AbsTolerance, double RelTolerance, std::string *ErrorMsg) |
| CompareNumbers - compare two numbers, returning true if they are different. More... | |
Definition at line 49 of file FileUtilities.cpp.
References isExponentChar(), isNumberChar(), and isSignedChar().
Referenced by llvm::DiffFilesWithTolerance().
|
static |
CompareNumbers - compare two numbers, returning true if they are different.
Definition at line 80 of file FileUtilities.cpp.
References llvm::abs(), EndOfNumber(), isNumberChar(), and llvm::NVPTX::PTXLdStInstCode::V2.
Referenced by llvm::DiffFilesWithTolerance().
EndOfNumber - Return the first character that is not part of the specified number.
This assumes that the buffer is null terminated, so it won't fall off the end.
Definition at line 73 of file FileUtilities.cpp.
References isNumberChar().
Referenced by CompareNumbers().
|
static |
Definition at line 30 of file FileUtilities.cpp.
Referenced by BackupNumber(), and isNumberChar().
|
static |
Definition at line 40 of file FileUtilities.cpp.
References isExponentChar(), and isSignedChar().
Referenced by BackupNumber(), CompareNumbers(), llvm::DiffFilesWithTolerance(), and EndOfNumber().
|
static |
Definition at line 26 of file FileUtilities.cpp.
Referenced by BackupNumber(), and isNumberChar().
1.8.6