diff options
author | Alp Toker <alp@nuanti.com> | 2014-05-15 02:22:34 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-05-15 02:22:34 +0000 |
commit | ef90fb885deabc54ccc7fee7b72e4d6ea9321542 (patch) | |
tree | ac3588a58431f568370068aa0143744ed6e9a206 /lib/sanitizer_common | |
parent | 6ff852fe1b49518b4f6419792c9381b43d3e1f7c (diff) |
Fix typos
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common')
-rw-r--r-- | lib/sanitizer_common/sanitizer_addrhashmap.h | 2 | ||||
-rw-r--r-- | lib/sanitizer_common/sanitizer_tls_get_addr.h | 2 | ||||
-rwxr-xr-x | lib/sanitizer_common/scripts/cpplint.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/sanitizer_common/sanitizer_addrhashmap.h b/lib/sanitizer_common/sanitizer_addrhashmap.h index e09192643..acf4ff020 100644 --- a/lib/sanitizer_common/sanitizer_addrhashmap.h +++ b/lib/sanitizer_common/sanitizer_addrhashmap.h @@ -22,7 +22,7 @@ namespace __sanitizer { // Concurrent uptr->T hashmap. -// T must be a POD type, kSize is preferrably a prime but can be any number. +// T must be a POD type, kSize is preferably a prime but can be any number. // Usage example: // // typedef AddrHashMap<uptr, 11> Map; diff --git a/lib/sanitizer_common/sanitizer_tls_get_addr.h b/lib/sanitizer_common/sanitizer_tls_get_addr.h index 68ca827a2..a64f11e0b 100644 --- a/lib/sanitizer_common/sanitizer_tls_get_addr.h +++ b/lib/sanitizer_common/sanitizer_tls_get_addr.h @@ -43,7 +43,7 @@ struct DTLS { uptr dtv_size; DTV *dtv; // dtv_size elements, allocated by MmapOrDie. - // Auxilary fields, don't access them outside sanitizer_tls_get_addr.cc + // Auxiliary fields, don't access them outside sanitizer_tls_get_addr.cc uptr last_memalign_size; uptr last_memalign_ptr; }; diff --git a/lib/sanitizer_common/scripts/cpplint.py b/lib/sanitizer_common/scripts/cpplint.py index a8c9f6784..742459af1 100755 --- a/lib/sanitizer_common/scripts/cpplint.py +++ b/lib/sanitizer_common/scripts/cpplint.py @@ -3634,7 +3634,7 @@ def UpdateIncludeState(filename, include_state, io=codecs): io: The io factory to use to read the file. Provided for testability. Returns: - True if a header was succesfully added. False otherwise. + True if a header was successfully added. False otherwise. """ headerfile = None try: @@ -3706,7 +3706,7 @@ def CheckForIncludeWhatYouUse(filename, clean_lines, include_state, error, # Let's copy the include_state so it is only messed up within this function. include_state = include_state.copy() - # Did we find the header for this file (if any) and succesfully load it? + # Did we find the header for this file (if any) and successfully load it? header_found = False # Use the absolute path so that matching works properly. |