[lld] r193155 - Fix typo in variable name

Alp Toker alp at nuanti.com
Tue Oct 22 02:11:45 PDT 2013


Author: alp
Date: Tue Oct 22 04:11:45 2013
New Revision: 193155

URL: http://llvm.org/viewvc/llvm-project?rev=193155&view=rev
Log:
Fix typo in variable name

Modified:
    lld/trunk/lib/Driver/WinLinkDriver.cpp

Modified: lld/trunk/lib/Driver/WinLinkDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/WinLinkDriver.cpp?rev=193155&r1=193154&r2=193155&view=diff
==============================================================================
--- lld/trunk/lib/Driver/WinLinkDriver.cpp (original)
+++ lld/trunk/lib/Driver/WinLinkDriver.cpp Tue Oct 22 04:11:45 2013
@@ -471,15 +471,15 @@ WinLinkDriver::parse(int argc, const cha
 
     case OPT_manifestuac: {
       // Parse /manifestuac.
-      llvm::Optional<std::string> priviledgeLevel;
+      llvm::Optional<std::string> privilegeLevel;
       llvm::Optional<bool> uiAccess;
-      if (!parseManifestUac(inputArg->getValue(), priviledgeLevel, uiAccess)) {
+      if (!parseManifestUac(inputArg->getValue(), privilegeLevel, uiAccess)) {
         diagnostics << "Unknown argument for /manifestuac: "
                     << inputArg->getValue() << "\n";
         return false;
       }
-      if (priviledgeLevel.hasValue())
-        ctx.setManifestLevel(priviledgeLevel.getValue());
+      if (privilegeLevel.hasValue())
+        ctx.setManifestLevel(privilegeLevel.getValue());
       if (uiAccess.hasValue())
         ctx.setManifestUiAccess(uiAccess.getValue());
       break;





More information about the llvm-commits mailing list