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() _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits