summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-05-14 19:38:39 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-05-14 19:38:39 +0000
commita1b4ed8003d4f8bde8b4d459b8002e7e21e88456 (patch)
treee75ded96ab1d4cffc2e4e31f5c32e8345477d11c /clang/lib/Sema/SemaExpr.cpp
parent3ab94df276ea939f05fc2395876a06a2e73f5ad4 (diff)
downloadbcm5719-llvm-a1b4ed8003d4f8bde8b4d459b8002e7e21e88456.tar.gz
bcm5719-llvm-a1b4ed8003d4f8bde8b4d459b8002e7e21e88456.zip
Implementation of __builtin_shufflevector, a portable builtin capable of
expressing the full flexibility of the LLVM shufflevector instruction. The expected immediate usage is in *mmintrin.h, so that they don't depend on the mess of gcc-inherited (and not completely implemented) shuffle builtins. llvm-svn: 51113
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index 4567d82719f..64b53d58848 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/lib/Sema/SemaExpr.cpp
@@ -723,8 +723,8 @@ ActOnCallExpr(ExprTy *fn, SourceLocation LParenLoc,
}
// Do special checking on direct calls to functions.
- if (FDecl && CheckFunctionCall(FDecl, TheCall.get()))
- return true;
+ if (FDecl)
+ return CheckFunctionCall(FDecl, TheCall.take());
return TheCall.take();
}
OpenPOWER on IntegriCloud