Home | History | Annotate | Download | only in work

Lines Matching defs:re

40 var re = regexp.MustCompile
43 re(`-D([A-Za-z_].*)`),
44 re(`-I([^@\-].*)`),
45 re(`-O`),
46 re(`-O([^@\-].*)`),
47 re(`-W`),
48 re(`-W([^@,]+)`), // -Wall but not -Wa,-foo.
49 re(`-f(no-)?blocks`),
50 re(`-f(no-)?common`),
51 re(`-f(no-)?constant-cfstrings`),
52 re(`-f(no-)?exceptions`),
53 re(`-finput-charset=([^@\-].*)`),
54 re(`-f(no-)?lto`),
55 re(`-f(no-)?modules`),
56 re(`-f(no-)?objc-arc`),
57 re(`-f(no-)?omit-frame-pointer`),
58 re(`-f(no-)?openmp(-simd)?`),
59 re(`-f(no-)?permissive`),
60 re(`-f(no-)?(pic|PIC|pie|PIE)`),
61 re(`-f(no-)?rtti`),
62 re(`-f(no-)?split-stack`),
63 re(`-f(no-)?stack-(.+)`),
64 re(`-f(no-)?strict-aliasing`),
65 re(`-fsanitize=(.+)`),
66 re(`-g([^@\-].*)?`),
67 re(`-m(arch|cpu|fpu|tune)=([^@\-].*)`),
68 re(`-m(no-)?avx[0-9a-z.]*`),
69 re(`-m(no-)?ms-bitfields`),
70 re(`-m(no-)?stack-(.+)`),
71 re(`-mmacosx-(.+)`),
72 re(`-mnop-fun-dllimport`),
73 re(`-m(no-)?sse[0-9.]*`),
74 re(`-pedantic(-errors)?`),
75 re(`-pipe`),
76 re(`-pthread`),
77 re(`-?-std=([^@\-].*)`),
78 re(`-x([^@\-].*)`),
90 re(`-F([^@\-].*)`),
91 re(`-l([^@\-].*)`),
92 re(`-L([^@\-].*)`),
93 re(`-f(no-)?(pic|PIC|pie|PIE)`),
94 re(`-fsanitize=([^@\-].*)`),
95 re(`-g([^@\-].*)?`),
96 re(`-m(arch|cpu|fpu|tune)=([^@\-].*)`),
97 re(`-(pic|PIC|pie|PIE)`),
98 re(`-pthread`),
99 re(`-?-static([-a-z0-9+]*)`),
106 re(`-Wl,--(no-)?as-needed`),
107 re(`-Wl,-Bdynamic`),
108 re(`-Wl,-Bstatic`),
109 re(`-Wl,--disable-new-dtags`),
110 re(`-Wl,--enable-new-dtags`),
111 re(`-Wl,--end-group`),
112 re(`-Wl,-framework,[^,@\-][^,]+`),
113 re(`-Wl,-headerpad_max_install_names`),
114 re(`-Wl,--no-undefined`),
115 re(`-Wl,-rpath,([^,@\-][^,]+)`),
116 re(`-Wl,-search_paths_first`),
117 re(`-Wl,--start-group`),
118 re(`-Wl,-?-unresolved-symbols=[^,]+`),
119 re(`-Wl,--(no-)?warn-([^,]+)`),
121 re(`[a-zA-Z0-9_/].*\.(a|o|obj|dll|dylib|so)`), // direct linker inputs: x.o or libfoo.so (but not -foo.o or @foo.o)
170 for _, re := range valid {
171 if re.FindString(arg) == arg { // must be complete match