Lines Matching refs:strings
31 flag = strings.TrimSpace(flag)
33 if !strings.HasPrefix(flag, "-") {
35 } else if strings.HasPrefix(flag, "-I") || strings.HasPrefix(flag, "-isystem") {
48 } else if strings.Contains(flag, " ") {
49 args := strings.Split(flag, " ")
55 if strings.HasPrefix("/", path) {
57 } else if strings.HasPrefix("../", path) {
60 } else if strings.HasPrefix(flag, "-D") && strings.Contains(flag, "=") {
76 flag = strings.TrimSpace(flag)
78 if !strings.HasPrefix(flag, "-") {
80 } else if strings.HasPrefix(flag, "-l") {
86 } else if strings.HasPrefix(flag, "-L") {
88 } else if strings.HasPrefix(flag, "-Wl,--version-script") {
92 } else if strings.Contains(flag, " ") {
93 args := strings.Split(flag, " ")
114 flag = strings.TrimSpace(flag)
117 if !strings.HasPrefix(flag, "-l") && !strings.HasPrefix(flag, "-framework") {
128 flag = strings.TrimSpace(flag)
130 if !strings.HasPrefix(flag, "-") {
132 } else if strings.HasPrefix(flag, "-fix") {
134 } else if strings.HasPrefix(flag, "-checks=") {
136 } else if strings.Contains(flag, " ") {
145 if strings.Contains(check, " ") {
147 } else if strings.Contains(check, ",") {