From: Eli Friedman Date: Fri, 16 May 2008 17:54:49 +0000 (+0000) Subject: Review nit. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba2561a0ab11afa64014828c759c491378ccc539;p=clang Review nit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51196 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp index 77f4226728..ce0036e399 100644 --- a/lib/Sema/SemaChecking.cpp +++ b/lib/Sema/SemaChecking.cpp @@ -226,8 +226,8 @@ Action::ExprResult Sema::SemaBuiltinShuffleVector(CallExpr *TheCall) { return true; } - if (TheCall->getArg(0)->getType().getCanonicalType().getUnqualifiedType() != - TheCall->getArg(1)->getType().getCanonicalType().getUnqualifiedType()) { + if (FAType.getCanonicalType().getUnqualifiedType() != + SAType.getCanonicalType().getUnqualifiedType()) { Diag(TheCall->getLocStart(), diag::err_shufflevector_incompatible_vector, SourceRange(TheCall->getArg(0)->getLocStart(), TheCall->getArg(1)->getLocEnd()));