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") {
41 } else if strings.Contains(flag, " ") {
42 args := strings.Split(flag, " ")
48 if strings.HasPrefix("/", path) {
50 } else if strings.HasPrefix("../", path) {
53 } else if strings.HasPrefix(flag, "-D") && strings.Contains(flag, "=") {
69 flag = strings.TrimSpace(flag)
71 if !strings.HasPrefix(flag, "-") {
73 } else if strings.HasPrefix(flag, "-l") {
79 } else if strings.HasPrefix(flag, "-L") {
81 } else if strings.HasPrefix(flag, "-Wl,--version-script") {
85 } else if strings.Contains(flag, " ") {
86 args := strings.Split(flag, " ")
107 flag = strings.TrimSpace(flag)
110 if !strings.HasPrefix(flag, "-l") && !strings.HasPrefix(flag, "-framework") {
121 flag = strings.TrimSpace(flag)
123 if !strings.HasPrefix(flag, "-") {
125 } else if strings.HasPrefix(flag, "-fix") {
127 } else if strings.HasPrefix(flag, "-checks=") {
129 } else if strings.Contains(flag, " ") {
138 if strings.Contains(check, " ") {
140 } else if strings.Contains(check, ",") {