Lines Matching refs:StringRef
13 #include "llvm/ADT/StringRef.h"
30 StringRef seg = Segment;
34 StringRef last = path::filename(seg);
53 Multilib::Multilib(StringRef GCCSuffix, StringRef OSSuffix,
54 StringRef IncludeSuffix, int Priority)
62 Multilib &Multilib::gccSuffix(StringRef S) {
68 Multilib &Multilib::osSuffix(StringRef S) {
74 Multilib &Multilib::includeSuffix(StringRef S) {
85 assert(GCCSuffix.empty() || (StringRef(GCCSuffix).front() == '/'));
89 OS << StringRef(GCCSuffix).drop_front();
92 for (StringRef Flag : Flags) {
101 StringRef Flag(Flags[I]);
104 assert(StringRef(Flag).front() == '+' || StringRef(Flag).front() == '-');
145 for (StringRef Flag : M.flags()) {
238 static bool isFlagEnabled(StringRef Flag) {
249 for (StringRef Flag : Flags)
253 for (StringRef Flag : M.flags()) {