Lines Matching refs:StringRef
14 #include "llvm/ADT/StringRef.h"
23 static Expected<StringRef>
26 return StringRef("__remarks");
32 Expected<Optional<StringRef>>
34 Expected<StringRef> SectionName = getRemarksSectionName(Obj);
39 Expected<StringRef> MaybeName = Section.getName();
45 if (Expected<StringRef> Contents = Section.getContents())
50 return Optional<StringRef>{};
59 void RemarkLinker::setExternalFilePrependPath(StringRef PrependPathIn) {
66 Error RemarkLinker::link(StringRef Buffer, Optional<Format> RemarkFormat) {
77 PrependPath ? Optional<StringRef>(StringRef(*PrependPath))
78 : Optional<StringRef>(None));
104 Expected<Optional<StringRef>> SectionOrErr = getRemarksSectionContents(Obj);
108 if (Optional<StringRef> Section = *SectionOrErr)