diff options
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r-- | clang/lib/Sema/SemaChecking.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp index 1d3cd58c..6e777fb 100644 --- a/clang/lib/Sema/SemaChecking.cpp +++ b/clang/lib/Sema/SemaChecking.cpp @@ -15955,6 +15955,7 @@ bool Sema::BuiltinElementwiseTernaryMath( return true; } + TheCall->setArg(0, Args[0]); for (int I = 1; I < 3; ++I) { if (Args[0]->getType().getCanonicalType() != Args[I]->getType().getCanonicalType()) { |