summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-04-24 16:36:20 +0000
committerAnders Carlsson <andersca@mac.com>2010-04-24 16:36:20 +0000
commitb34f88205f992c806a1a6dce399f62c53e01b124 (patch)
treeba12a480b1846df27b1fb02707d0c9b64e617926 /clang/lib/Sema/SemaChecking.cpp
parent7d96cd7799b3d80dc54f6adec043006ccb549bf6 (diff)
downloadbcm5719-llvm-b34f88205f992c806a1a6dce399f62c53e01b124.tar.gz
bcm5719-llvm-b34f88205f992c806a1a6dce399f62c53e01b124.zip
isValue is set to false by default.
llvm-svn: 102246
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r--clang/lib/Sema/SemaChecking.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index 0b66c109c06..3179a566bd6 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -432,8 +432,7 @@ bool Sema::SemaBuiltinAtomicOverloaded(CallExpr *TheCall) {
// pass in 42. The 42 gets converted to char. This is even more strange
// for things like 45.123 -> char, etc.
// FIXME: Do this check.
- ImpCastExprToType(Arg, ValType, Kind, /*InheritancePath=*/0,
- /*isLvalue=*/false);
+ ImpCastExprToType(Arg, ValType, Kind);
TheCall->setArg(i+1, Arg);
}
OpenPOWER on IntegriCloud