Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new keywords to LLVM IR mode #6262

Merged
merged 1 commit into from Apr 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 17 additions & 0 deletions static/modes/llvm-ir-mode.ts
Expand Up @@ -45,6 +45,7 @@
'label',
'opaque',
'token',
'ptr',

Check warning on line 48 in static/modes/llvm-ir-mode.ts

View check run for this annotation

Codecov / codecov/patch

static/modes/llvm-ir-mode.ts#L48

Added line #L48 was not covered by tests
],
// llvmStatement
statements: [
Expand Down Expand Up @@ -157,6 +158,8 @@
'alias',
'align',
'alignstack',
'allocalign',
'allocptr',

Check warning on line 162 in static/modes/llvm-ir-mode.ts

View check run for this annotation

Codecov / codecov/patch

static/modes/llvm-ir-mode.ts#L161-L162

Added lines #L161 - L162 were not covered by tests
'alwaysinline',
'appending',
'argmemonly',
Expand All @@ -168,6 +171,7 @@
'available_externally',
'blockaddress',
'builtin',
'byref',

Check warning on line 174 in static/modes/llvm-ir-mode.ts

View check run for this annotation

Codecov / codecov/patch

static/modes/llvm-ir-mode.ts#L174

Added line #L174 was not covered by tests
'byval',
'c',
'catch',
Expand All @@ -180,16 +184,19 @@
'common',
'constant',
'datalayout',
'dead_on_unwind',

Check warning on line 187 in static/modes/llvm-ir-mode.ts

View check run for this annotation

Codecov / codecov/patch

static/modes/llvm-ir-mode.ts#L187

Added line #L187 was not covered by tests
'declare',
'default',
'define',
'deplibs',
'dereferenceable',
'dereferenceable_or_null',

Check warning on line 193 in static/modes/llvm-ir-mode.ts

View check run for this annotation

Codecov / codecov/patch

static/modes/llvm-ir-mode.ts#L193

Added line #L193 was not covered by tests
'distinct',
'dllexport',
'dllimport',
'dso_local',
'dso_preemptable',
'elementtype',

Check warning on line 199 in static/modes/llvm-ir-mode.ts

View check run for this annotation

Codecov / codecov/patch

static/modes/llvm-ir-mode.ts#L199

Added line #L199 was not covered by tests
'except',
'external',
'externally_initialized',
Expand All @@ -202,6 +209,8 @@
'hhvmcc',
'hhvm_ccc',
'hidden',
'immarg',
'inalloca',

Check warning on line 213 in static/modes/llvm-ir-mode.ts

View check run for this annotation

Codecov / codecov/patch

static/modes/llvm-ir-mode.ts#L212-L213

Added lines #L212 - L213 were not covered by tests
'initialexec',
'inlinehint',
'inreg',
Expand All @@ -223,17 +232,21 @@
'noalias',
'nobuiltin',
'nocapture',
'nofree',
'nofpclass',

Check warning on line 236 in static/modes/llvm-ir-mode.ts

View check run for this annotation

Codecov / codecov/patch

static/modes/llvm-ir-mode.ts#L235-L236

Added lines #L235 - L236 were not covered by tests
'noimplicitfloat',
'noinline',
'nonlazybind',
'nonnull',
'norecurse',
'noredzone',
'noreturn',
'noundef',

Check warning on line 244 in static/modes/llvm-ir-mode.ts

View check run for this annotation

Codecov / codecov/patch

static/modes/llvm-ir-mode.ts#L244

Added line #L244 was not covered by tests
'nounwind',
'optnone',
'optsize',
'personality',
'preallocated',

Check warning on line 249 in static/modes/llvm-ir-mode.ts

View check run for this annotation

Codecov / codecov/patch

static/modes/llvm-ir-mode.ts#L249

Added line #L249 was not covered by tests
'private',
'protected',
'ptx_device',
Expand All @@ -260,7 +273,10 @@
'sspreq',
'sspstrong',
'strictfp',
'swiftasync',

Check warning on line 276 in static/modes/llvm-ir-mode.ts

View check run for this annotation

Codecov / codecov/patch

static/modes/llvm-ir-mode.ts#L276

Added line #L276 was not covered by tests
'swiftcc',
'swifterror',
'swiftself',

Check warning on line 279 in static/modes/llvm-ir-mode.ts

View check run for this annotation

Codecov / codecov/patch

static/modes/llvm-ir-mode.ts#L278-L279

Added lines #L278 - L279 were not covered by tests
'tail',
'target',
'thread_local',
Expand All @@ -275,6 +291,7 @@
'weak',
'weak_odr',
'within',
'writable',

Check warning on line 294 in static/modes/llvm-ir-mode.ts

View check run for this annotation

Codecov / codecov/patch

static/modes/llvm-ir-mode.ts#L294

Added line #L294 was not covered by tests
'writeonly',
'x86_64_sysvcc',
'win64cc',
Expand Down