Merge pull request #12 from TheErk/fix-spellingTypos

Fix a couple of spelling typos
This commit is contained in:
Matt Arsenault 2017-10-12 22:08:00 -07:00 committed by GitHub
commit c5055c49ea
6 changed files with 7 additions and 7 deletions

View File

@ -55,5 +55,5 @@ function (add_sanitize_address TARGET)
return() return()
endif () endif ()
saitizer_add_flags(${TARGET} "AddressSanitizer" "ASan") sanitizer_add_flags(${TARGET} "AddressSanitizer" "ASan")
endfunction () endfunction ()

View File

@ -53,5 +53,5 @@ function (add_sanitize_memory TARGET)
return() return()
endif () endif ()
saitizer_add_flags(${TARGET} "MemorySanitizer" "MSan") sanitizer_add_flags(${TARGET} "MemorySanitizer" "MSan")
endfunction () endfunction ()

View File

@ -67,14 +67,14 @@ function(add_sanitizers ...)
if (NUM_COMPILERS GREATER 1) if (NUM_COMPILERS GREATER 1)
message(WARNING "Can't use any sanitizers for target ${TARGET}, " message(WARNING "Can't use any sanitizers for target ${TARGET}, "
"because it will be compiled by incompatible compilers. " "because it will be compiled by incompatible compilers. "
"Target will be compiled without sanitzers.") "Target will be compiled without sanitizers.")
return() return()
# If the target is compiled by no known compiler, ignore it. # If the target is compiled by no known compiler, ignore it.
elseif (NUM_COMPILERS EQUAL 0) elseif (NUM_COMPILERS EQUAL 0)
message(WARNING "Can't use any sanitizers for target ${TARGET}, " message(WARNING "Can't use any sanitizers for target ${TARGET}, "
"because it uses an unknown compiler. Target will be " "because it uses an unknown compiler. Target will be "
"compiled without sanitzers.") "compiled without sanitizers.")
return() return()
endif () endif ()

View File

@ -60,5 +60,5 @@ function (add_sanitize_thread TARGET)
return() return()
endif () endif ()
saitizer_add_flags(${TARGET} "ThreadSanitizer" "TSan") sanitizer_add_flags(${TARGET} "ThreadSanitizer" "TSan")
endfunction () endfunction ()

View File

@ -42,5 +42,5 @@ function (add_sanitize_undefined TARGET)
return() return()
endif () endif ()
saitizer_add_flags(${TARGET} "UndefinedBehaviorSanitizer" "UBSan") sanitizer_add_flags(${TARGET} "UndefinedBehaviorSanitizer" "UBSan")
endfunction () endfunction ()

View File

@ -150,7 +150,7 @@ endfunction ()
# Helper to assign sanitizer flags for TARGET. # Helper to assign sanitizer flags for TARGET.
function (saitizer_add_flags TARGET NAME PREFIX) function (sanitizer_add_flags TARGET NAME PREFIX)
# Get list of compilers used by target and check, if sanitizer is available # Get list of compilers used by target and check, if sanitizer is available
# for this target. Other compiler checks like check for conflicting # for this target. Other compiler checks like check for conflicting
# compilers will be done in add_sanitizers function. # compilers will be done in add_sanitizers function.