]> granicus.if.org Git - clang/commitdiff
NFC. Fixing my consistently incorrect spelling.
authorChris Bieneman <beanz@apple.com>
Mon, 23 Nov 2015 23:34:13 +0000 (23:34 +0000)
committerChris Bieneman <beanz@apple.com>
Mon, 23 Nov 2015 23:34:13 +0000 (23:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253937 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt
runtime/CMakeLists.txt

index bddc25034b8474e0d298dacac5b975ec105eb7f9..ba7926bd149e572283896ec5884270d3ac53c66c 100644 (file)
@@ -664,21 +664,21 @@ if (CLANG_ENABLE_BOOTSTRAP)
   # Find all variables that start with BOOTSTRAP_ and populate a variable with
   # them.
   get_cmake_property(variableNames VARIABLES)
-  foreach(varaibleName ${variableNames})
-    if(varaibleName MATCHES "^BOOTSTRAP_")
-      string(SUBSTRING ${varaibleName} 10 -1 varName)
-      string(REPLACE ";" "\;" value "${${varaibleName}}")
+  foreach(variableName ${variableNames})
+    if(variableName MATCHES "^BOOTSTRAP_")
+      string(SUBSTRING ${variableName} 10 -1 varName)
+      string(REPLACE ";" "\;" value "${${variableName}}")
       list(APPEND PASSTHROUGH_VARIABLES
         -D${varName}=${value})
     endif()
   endforeach()
 
   # Populate the passthrough variables
-  foreach(varaibleName ${CLANG_BOOTSTRAP_PASSTHROUGH} ${BOOTSTRAP_DEFAULT_PASSTHROUGH})
-    if(${varaibleName})
-      string(REPLACE ";" "\;" value ${${varaibleName}})
+  foreach(variableName ${CLANG_BOOTSTRAP_PASSTHROUGH} ${BOOTSTRAP_DEFAULT_PASSTHROUGH})
+    if(${variableName})
+      string(REPLACE ";" "\;" value ${${variableName}})
       list(APPEND PASSTHROUGH_VARIABLES
-        -D${varaibleName}=${value})
+        -D${variableName}=${value})
     endif()
   endforeach()
 
index 5ca20c92077e93dbff8eca59cbb69cbaacbe5f3c..1f6455c90cbaeec6febd1f09bc7318d72dd86e6c 100644 (file)
@@ -47,11 +47,11 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
   # Find all variables that start with COMPILER_RT and populate a variable with
   # them.
   get_cmake_property(variableNames VARIABLES)
-  foreach(varaibleName ${variableNames})
-    if(varaibleName MATCHES "^COMPILER_RT")
-      string(REPLACE ";" "\;" value "${${varaibleName}}")
+  foreach(variableName ${variableNames})
+    if(variableName MATCHES "^COMPILER_RT")
+      string(REPLACE ";" "\;" value "${${variableName}}")
       list(APPEND COMPILER_RT_PASSTHROUGH_VARIABLES
-        -D${varaibleName}=${${value}})
+        -D${variableName}=${${value}})
     endif()
   endforeach()