diff options
author | Alexander Kornienko <alexfh@google.com> | 2018-04-06 15:14:32 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2018-04-06 15:14:32 +0000 |
commit | b8b9458165ad22218c8d864a623bd23847d4807a (patch) | |
tree | bdb43c773d7cea723e8c80b4d0c11a7b8b93a619 /utils | |
parent | 0a1726abd9544637fd9015e68b6638a552533649 (diff) | |
download | clang-b8b9458165ad22218c8d864a623bd23847d4807a.tar.gz |
Fix typos in clang
Found via codespell -q 3 -I ../clang-whitelist.txt
Where whitelist consists of:
archtype
cas
classs
checkk
compres
definit
frome
iff
inteval
ith
lod
methode
nd
optin
ot
pres
statics
te
thru
Patch by luzpaz! (This is a subset of D44188 that applies cleanly with a few
files that have dubious fixes reverted.)
Differential revision: https://reviews.llvm.org/D44188
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329399 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/NeonEmitter.cpp | 2 | ||||
-rw-r--r-- | utils/bash-autocomplete.sh | 2 | ||||
-rwxr-xr-x | utils/check_cfc/check_cfc.py | 2 | ||||
-rwxr-xr-x | utils/clangdiag.py | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/utils/TableGen/NeonEmitter.cpp b/utils/TableGen/NeonEmitter.cpp index b9f022492e..62f9740296 100644 --- a/utils/TableGen/NeonEmitter.cpp +++ b/utils/TableGen/NeonEmitter.cpp @@ -304,7 +304,7 @@ class Intrinsic { ListInit *Body; /// The architectural #ifdef guard. std::string Guard; - /// Set if the Unvailable bit is 1. This means we don't generate a body, + /// Set if the Unavailable bit is 1. This means we don't generate a body, /// just an "unavailable" attribute on a declaration. bool IsUnavailable; /// Is this intrinsic safe for big-endian? or does it need its arguments diff --git a/utils/bash-autocomplete.sh b/utils/bash-autocomplete.sh index 3872dd29be..2042f0b200 100644 --- a/utils/bash-autocomplete.sh +++ b/utils/bash-autocomplete.sh @@ -12,7 +12,7 @@ _clang() { local cur prev words cword arg flags w1 w2 # If latest bash-completion is not supported just initialize COMPREPLY and - # initialize variables by setting manualy. + # initialize variables by setting manually. _init_completion -n 2> /dev/null if [[ "$?" != 0 ]]; then COMPREPLY=() diff --git a/utils/check_cfc/check_cfc.py b/utils/check_cfc/check_cfc.py index c6ab9abf23..7a739f46e3 100755 --- a/utils/check_cfc/check_cfc.py +++ b/utils/check_cfc/check_cfc.py @@ -237,7 +237,7 @@ def run_step(command, my_env, error_on_failure): def get_temp_file_name(suffix): """Get a temporary file name with a particular suffix. Let the caller be - reponsible for deleting it.""" + responsible for deleting it.""" tf = tempfile.NamedTemporaryFile(suffix=suffix, delete=False) tf.close() return tf.name diff --git a/utils/clangdiag.py b/utils/clangdiag.py index f434bfeaa4..9a80e2696d 100755 --- a/utils/clangdiag.py +++ b/utils/clangdiag.py @@ -107,7 +107,7 @@ def setDiagBreakpoint(frame, bp_loc, dict): target = frame.GetThread().GetProcess().GetTarget() diagtool = getDiagtool(target) name = subprocess.check_output([diagtool, "find-diagnostic-id", id]).rstrip(); - # Make sure we only consider errors, warnings, and extentions. + # Make sure we only consider errors, warnings, and extensions. # FIXME: Make this configurable? prefixes = ['err_', 'warn_', 'exp_'] if len([prefix for prefix in prefixes+[''] if name.startswith(prefix)][0]): @@ -124,7 +124,7 @@ def enable(exe_ctx, args): numOfBreakpoints = target.GetNumBreakpoints() if args.id: - # Make sure we only consider errors, warnings, and extentions. + # Make sure we only consider errors, warnings, and extensions. # FIXME: Make this configurable? prefixes = ['err_', 'warn_', 'exp_'] if len([prefix for prefix in prefixes+[''] if args.id.startswith(prefix)][0]): |