File tree Expand file tree Collapse file tree 2 files changed +2
-85
lines changed
Expand file tree Collapse file tree 2 files changed +2
-85
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ AutocompleteResponse parenCompletion(T)(T beforeTokens,
352352 completions = scopes;
353353 goto fillResponse;
354354 case tok! " version" :
355- completions = versions ;
355+ completions = predefinedVersions ;
356356 goto fillResponse;
357357 case tok! " extern" :
358358 completions = linkages;
Original file line number Diff line number Diff line change @@ -93,90 +93,6 @@ immutable string[] scopes = [
9393 " success"
9494];
9595
96- /**
97- * Predefined version identifiers
98- */
99- immutable string [] versions = [
100- " AArch64" ,
101- " AIX" ,
102- " all" ,
103- " Alpha" ,
104- " Alpha_HardFloat" ,
105- " Alpha_SoftFloat" ,
106- " Android" ,
107- " ARM" ,
108- " ARM_HardFloat" ,
109- " ARM_SoftFloat" ,
110- " ARM_SoftFP" ,
111- " ARM_Thumb" ,
112- " assert" ,
113- " BigEndian" ,
114- " BSD" ,
115- " Cygwin" ,
116- " D_Coverage" ,
117- " D_Ddoc" ,
118- " D_HardFloat" ,
119- " DigitalMars" ,
120- " D_InlineAsm_X86" ,
121- " D_InlineAsm_X86_64" ,
122- " D_LP64" ,
123- " D_NoBoundsChecks" ,
124- " D_PIC" ,
125- " DragonFlyBSD" ,
126- " D_SIMD" ,
127- " D_SoftFloat" ,
128- " D_Version2" ,
129- " D_X32" ,
130- " FreeBSD" ,
131- " GNU" ,
132- " Haiku" ,
133- " HPPA" ,
134- " HPPA64" ,
135- " Hurd" ,
136- " IA64" ,
137- " LDC" ,
138- " linux" ,
139- " LittleEndian" ,
140- " MIPS32" ,
141- " MIPS64" ,
142- " MIPS_EABI" ,
143- " MIPS_HardFloat" ,
144- " MIPS_N32" ,
145- " MIPS_N64" ,
146- " MIPS_O32" ,
147- " MIPS_O64" ,
148- " MIPS_SoftFloat" ,
149- " NetBSD" ,
150- " none" ,
151- " OpenBSD" ,
152- " OSX" ,
153- " Posix" ,
154- " PPC" ,
155- " PPC64" ,
156- " PPC_HardFloat" ,
157- " PPC_SoftFloat" ,
158- " S390" ,
159- " S390X" ,
160- " SDC" ,
161- " SH" ,
162- " SH64" ,
163- " SkyOS" ,
164- " Solaris" ,
165- " SPARC" ,
166- " SPARC64" ,
167- " SPARC_HardFloat" ,
168- " SPARC_SoftFloat" ,
169- " SPARC_V8Plus" ,
170- " SysV3" ,
171- " SysV4" ,
172- " unittest" ,
173- " Win32" ,
174- " Win64" ,
175- " Windows" ,
176- " X86" ,
177- " X86_64"
178- ];
179-
18096/**
18197 * Compiler-defined values for version() conditions.
18298 */
@@ -212,6 +128,7 @@ immutable string[] predefinedVersions = [
212128 " D_Version2" ,
213129 " D_X32" ,
214130 " FreeBSD" ,
131+ " FreeStanding" ,
215132 " GNU" ,
216133 " Haiku" ,
217134 " HPPA" ,
You can’t perform that action at this time.
0 commit comments