]> granicus.if.org Git - clang/commit
Convert UsualArithmeticConversions to return "void". Now that we synthesize ImplicitC...
authorSteve Naroff <snaroff@apple.com>
Tue, 17 Jul 2007 00:58:39 +0000 (00:58 +0000)
committerSteve Naroff <snaroff@apple.com>
Tue, 17 Jul 2007 00:58:39 +0000 (00:58 +0000)
commita4332e283ee52b4c2bf58180c461e2c23ee24120
tree0c49ae2ec444cb80f50b1e03e09b89d07ed01b0d
parent16beff840865ce36794e495bce10fd0a3e473ab0
Convert UsualArithmeticConversions to return "void". Now that we synthesize ImplicitCastExpr's,
there is no compelling need to return the converted type. If both expression type's are arithmetic, then
both types will always be the same. If they aren't (for pointer/int types, say), then the
types will be different. The client is responsible for distinguishing...

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39947 91177308-0d34-0410-b5e6-96231b3b80d8
Sema/Sema.h
Sema/SemaExpr.cpp