class SMFixIt
Declaration
class SMFixIt { /* full declaration omitted */ };
Description
Represents a single fixit, a replacement of one range of text with another.
Declared at: llvm/include/llvm/Support/SourceMgr.h:229
Method Overview
- public SMFixIt(llvm::SMLoc Loc, const llvm::Twine & Insertion)
- public SMFixIt(llvm::SMRange R, const llvm::Twine & Replacement)
- public llvm::SMRange getRange() const
- public llvm::StringRef getText() const
Methods
¶SMFixIt(llvm::SMLoc Loc,
const llvm::Twine& Insertion)
SMFixIt(llvm::SMLoc Loc,
const llvm::Twine& Insertion)
Declared at: llvm/include/llvm/Support/SourceMgr.h:236
Parameters
- llvm::SMLoc Loc
- const llvm::Twine& Insertion
¶SMFixIt(llvm::SMRange R,
const llvm::Twine& Replacement)
SMFixIt(llvm::SMRange R,
const llvm::Twine& Replacement)
Declared at: llvm/include/llvm/Support/SourceMgr.h:242
Parameters
- llvm::SMRange R
- const llvm::Twine& Replacement
¶llvm::SMRange getRange() const
llvm::SMRange getRange() const
Declared at: llvm/include/llvm/Support/SourceMgr.h:248
¶llvm::StringRef getText() const
llvm::StringRef getText() const
Declared at: llvm/include/llvm/Support/SourceMgr.h:247