]> granicus.if.org Git - clang/commitdiff
isValue is set to false by default.
authorAnders Carlsson <andersca@mac.com>
Sat, 24 Apr 2010 16:36:20 +0000 (16:36 +0000)
committerAnders Carlsson <andersca@mac.com>
Sat, 24 Apr 2010 16:36:20 +0000 (16:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102246 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaChecking.cpp

index 0b66c109c06081a44803328fea2f91d6415aead9..3179a566bd6eddb1e45a3c7d8a1022de4f17d645 100644 (file)
@@ -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);
   }