Add cspell config
This commit is contained in:
parent
b4be0b9dca
commit
72d99d070a
3 changed files with 104 additions and 0 deletions
27
.cspell.json
Normal file
27
.cspell.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"allowCompoundWords": true,
|
||||
"dictionaries": ["cpp", "rust-extra", "rustc_codegen_gcc"],
|
||||
"dictionaryDefinitions": [
|
||||
{
|
||||
"name": "rust-extra",
|
||||
"path": "tools/cspell_dicts/rust.txt",
|
||||
"addWords": true
|
||||
},
|
||||
{
|
||||
"name": "rustc_codegen_gcc",
|
||||
"path": "tools/cspell_dicts/rustc_codegen_gcc.txt",
|
||||
"addWords": true
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
"src/**/*.rs"
|
||||
],
|
||||
"ignorePaths": [
|
||||
"src/intrinsic/archs.rs",
|
||||
"src/intrinsic/llvm.rs"
|
||||
],
|
||||
"ignoreRegExpList": [
|
||||
"/(FIXME|NOTE|TODO)\\([^)]+\\)/",
|
||||
"__builtin_\\w*"
|
||||
]
|
||||
}
|
||||
2
tools/cspell_dicts/rust.txt
Normal file
2
tools/cspell_dicts/rust.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
lateout
|
||||
repr
|
||||
75
tools/cspell_dicts/rustc_codegen_gcc.txt
Normal file
75
tools/cspell_dicts/rustc_codegen_gcc.txt
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
aapcs
|
||||
addo
|
||||
archs
|
||||
ashl
|
||||
ashr
|
||||
cgcx
|
||||
clzll
|
||||
cmse
|
||||
codegened
|
||||
csky
|
||||
ctlz
|
||||
ctpop
|
||||
cttz
|
||||
ctzll
|
||||
flto
|
||||
fmaximumf
|
||||
fmuladd
|
||||
fmuladdf
|
||||
fminimumf
|
||||
fmul
|
||||
fptosi
|
||||
fptosui
|
||||
fptoui
|
||||
fwrapv
|
||||
gimple
|
||||
hrtb
|
||||
immediates
|
||||
liblto
|
||||
llbb
|
||||
llcx
|
||||
llextra
|
||||
llfn
|
||||
lgcc
|
||||
llmod
|
||||
llresult
|
||||
llret
|
||||
ltrans
|
||||
llty
|
||||
llval
|
||||
llvals
|
||||
loong
|
||||
lshr
|
||||
masm
|
||||
maximumf
|
||||
maxnumf
|
||||
mavx
|
||||
mcmodel
|
||||
minimumf
|
||||
minnumf
|
||||
monomorphization
|
||||
monomorphizations
|
||||
monomorphized
|
||||
monomorphizing
|
||||
movnt
|
||||
mulo
|
||||
nvptx
|
||||
pointee
|
||||
powitf
|
||||
reassoc
|
||||
riscv
|
||||
rlib
|
||||
roundevenf
|
||||
rustc
|
||||
sitofp
|
||||
sizet
|
||||
spir
|
||||
subo
|
||||
sysv
|
||||
tbaa
|
||||
uitofp
|
||||
unord
|
||||
uninlined
|
||||
utrunc
|
||||
xabort
|
||||
zext
|
||||
Loading…
Add table
Add a link
Reference in a new issue