]> granicus.if.org Git - clang/commitdiff
Remove trailing whitespace.
authorCraig Topper <craig.topper@gmail.com>
Fri, 19 Jul 2013 04:46:31 +0000 (04:46 +0000)
committerCraig Topper <craig.topper@gmail.com>
Fri, 19 Jul 2013 04:46:31 +0000 (04:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186652 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaChecking.cpp

index 0c65b2fc4e5ef186aab0cfc14c9c1b58e6701a92..37f807035abf22c6a859dcf62a59847939bc60e0 100644 (file)
@@ -1651,19 +1651,19 @@ ExprResult Sema::SemaBuiltinShuffleVector(CallExpr *TheCall) {
   // 3) binary, scalar mask: (lhs, rhs, index, ..., index)
   QualType resType = TheCall->getArg(0)->getType();
   unsigned numElements = 0;
-  
+
   if (!TheCall->getArg(0)->isTypeDependent() &&
       !TheCall->getArg(1)->isTypeDependent()) {
     QualType LHSType = TheCall->getArg(0)->getType();
     QualType RHSType = TheCall->getArg(1)->getType();
-    
+
     if (!LHSType->isVectorType() || !RHSType->isVectorType()) {
       Diag(TheCall->getLocStart(), diag::err_shufflevector_non_vector)
         << SourceRange(TheCall->getArg(0)->getLocStart(),
                        TheCall->getArg(1)->getLocEnd());
       return ExprError();
     }
-    
+
     numElements = LHSType->getAs<VectorType>()->getNumElements();
     unsigned numResElements = TheCall->getNumArgs() - 2;
 
@@ -1676,8 +1676,7 @@ ExprResult Sema::SemaBuiltinShuffleVector(CallExpr *TheCall) {
         Diag(TheCall->getLocStart(), diag::err_shufflevector_incompatible_vector)
           << SourceRange(TheCall->getArg(1)->getLocStart(),
                          TheCall->getArg(1)->getLocEnd());
-    }
-    else if (!Context.hasSameUnqualifiedType(LHSType, RHSType)) {
+    } else if (!Context.hasSameUnqualifiedType(LHSType, RHSType)) {
       Diag(TheCall->getLocStart(), diag::err_shufflevector_incompatible_vector)
         << SourceRange(TheCall->getArg(0)->getLocStart(),
                        TheCall->getArg(1)->getLocEnd());