Lines Matching refs:StringRef
89 bool violatesColumnLimit(llvm::StringRef Code, unsigned ColumnLimit,
92 StartPos = (StartPos == llvm::StringRef::npos) ? 0 : StartPos + 1;
95 if (EndPos == llvm::StringRef::npos)
98 llvm::SmallVector<llvm::StringRef, 8> Lines;
100 for (llvm::StringRef Line : Lines)
107 getRangesForFormating(llvm::StringRef Code, unsigned ColumnLimit,
144 createReplacementsForHeaders(llvm::StringRef FilePath, llvm::StringRef Code,
151 for (llvm::StringRef Header : Change.getInsertedHeaders()) {
183 combineReplacementsInChanges(llvm::StringRef FilePath,
242 AtomicChange AtomicChange::convertFromYAML(llvm::StringRef YAMLContent) {
260 llvm::StringRef ReplacementText) {
265 unsigned Length, llvm::StringRef Text) {
270 llvm::StringRef Text, bool InsertAfter) {
292 void AtomicChange::addHeader(llvm::StringRef Header) {
296 void AtomicChange::removeHeader(llvm::StringRef Header) {
301 applyAtomicChanges(llvm::StringRef FilePath, llvm::StringRef Code,