summaryrefslogtreecommitdiffstats
path: root/lib/sanitizer_common/scripts/cpplint.py
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-01-07 19:55:37 +0000
committerdim <dim@FreeBSD.org>2015-01-07 19:55:37 +0000
commit2f1c5cc1039d86db0037cb086bd58f4b90dc6f66 (patch)
tree9b19e801150082c33e9152275829a6ce90614b55 /lib/sanitizer_common/scripts/cpplint.py
parentc3f67e1dc21025f1026cbf72628b19fb37f7b53d (diff)
downloadFreeBSD-src-2f1c5cc1039d86db0037cb086bd58f4b90dc6f66.zip
FreeBSD-src-2f1c5cc1039d86db0037cb086bd58f4b90dc6f66.tar.gz
Import compiler-rt trunk r224034.
https://llvm.org/svn/llvm-project/compiler-rt/trunk@224034
Diffstat (limited to 'lib/sanitizer_common/scripts/cpplint.py')
-rwxr-xr-xlib/sanitizer_common/scripts/cpplint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sanitizer_common/scripts/cpplint.py b/lib/sanitizer_common/scripts/cpplint.py
index a8c9f67..742459a 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.
OpenPOWER on IntegriCloud