diff options
author | Anders Carlsson <andersca@mac.com> | 2010-04-24 16:36:20 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-04-24 16:36:20 +0000 |
commit | 80971bdba20b5b280a00b7b9829026b33d3206f9 (patch) | |
tree | ff667450b183e0f7919dd2274c4498a789cb985f /lib/Sema/SemaChecking.cpp | |
parent | 7ab9d574d27ecee1f130e5755aa403e5ab529b6b (diff) |
isValue is set to false by default.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
-rw-r--r-- | lib/Sema/SemaChecking.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp index 0b66c109c0..3179a566bd 100644 --- a/lib/Sema/SemaChecking.cpp +++ b/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); } |