Lines Matching refs:StringRef
40 StringRef FileName, StringRef Code, const IncludeStyle &Style,
58 Lexer &Lex, StringRef Name, Token &Tok,
59 llvm::Optional<StringRef> RawIDName = llvm::None) {
80 unsigned getOffsetAfterHeaderGuardsAndComments(StringRef FileName,
81 StringRef Code,
112 StringRef("once")))
156 unsigned getMaxHeaderInsertionOffset(StringRef FileName, StringRef Code,
169 inline StringRef trimInclude(StringRef IncludeName) {
179 StringRef FileName)
194 int IncludeCategoryManager::getIncludePriority(StringRef IncludeName,
207 int IncludeCategoryManager::getSortIncludePriority(StringRef IncludeName,
221 bool IncludeCategoryManager::isMainHeader(StringRef IncludeName) const {
224 StringRef HeaderStem =
236 HeaderIncludes::HeaderIncludes(StringRef FileName, StringRef Code,
251 SmallVector<StringRef, 32> Lines;
256 SmallVector<StringRef, 4> Matches;
311 HeaderIncludes::insert(llvm::StringRef IncludeName, bool IsAngled) const {
319 if ((IsAngled && StringRef(Inc.Name).startswith("<")) ||
320 (!IsAngled && StringRef(Inc.Name).startswith("\"")))
324 StringRef QuotedName = Quoted;
351 tooling::Replacements HeaderIncludes::remove(llvm::StringRef IncludeName,
359 if ((IsAngled && StringRef(Inc.Name).startswith("\"")) ||
360 (!IsAngled && StringRef(Inc.Name).startswith("<")))