LLVM
8.0.1
|
Represents a single fixit, a replacement of one range of text with another. More...
#include "llvm/Support/SourceMgr.h"
Public Member Functions | |
SMFixIt (SMLoc Loc, const Twine &Insertion) | |
SMFixIt (SMRange R, const Twine &Replacement) | |
StringRef | getText () const |
SMRange | getRange () const |
bool | operator< (const SMFixIt &Other) const |
Represents a single fixit, a replacement of one range of text with another.
Definition at line 228 of file SourceMgr.h.
Definition at line 235 of file SourceMgr.h.
References assert(), and llvm::SMLoc::isValid().
Definition at line 241 of file SourceMgr.h.
References assert(), and llvm::SMRange::isValid().
|
inline |
Definition at line 247 of file SourceMgr.h.
|
inline |
Definition at line 246 of file SourceMgr.h.
Definition at line 249 of file SourceMgr.h.
References llvm::SMRange::End, llvm::SMLoc::getPointer(), and llvm::SMRange::Start.