r253937 - NFC. Fixing my consistently incorrect spelling.

Chris Bieneman via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 23 15:34:13 PST 2015


Author: cbieneman
Date: Mon Nov 23 17:34:13 2015
New Revision: 253937

URL: http://llvm.org/viewvc/llvm-project?rev=253937&view=rev
Log:
NFC. Fixing my consistently incorrect spelling.

Modified:
    cfe/trunk/CMakeLists.txt
    cfe/trunk/runtime/CMakeLists.txt

Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=253937&r1=253936&r2=253937&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Mon Nov 23 17:34:13 2015
@@ -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()
 

Modified: cfe/trunk/runtime/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/runtime/CMakeLists.txt?rev=253937&r1=253936&r2=253937&view=diff
==============================================================================
--- cfe/trunk/runtime/CMakeLists.txt (original)
+++ cfe/trunk/runtime/CMakeLists.txt Mon Nov 23 17:34:13 2015
@@ -47,11 +47,11 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND E
   # 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()
 




More information about the cfe-commits mailing list