aboutsummaryrefslogtreecommitdiff
path: root/lib/Format/UnwrappedLineParser.cpp
diff options
context:
space:
mode:
authorDavid Tweed <david.tweed@arm.com>2013-01-07 16:43:27 +0000
committerDavid Tweed <david.tweed@arm.com>2013-01-07 16:43:27 +0000
commit7a83421776416d6a9044fb03b5b02208b47646c1 (patch)
treeb4d5dedc59fee0878cb226c355f7ae8ca12a268b /lib/Format/UnwrappedLineParser.cpp
parenta9ccdd1b8ef31d1942193ffa6bc32781055cf493 (diff)
Scalar shifts in the OpenCL specification (as of v. 1.2) are defined to be
with respect to the lower "left-hand-side bitwidth" bits, even when negative); see OpenCL spec 6.3j. This patch both implements this behaviour in the code generator and "constant folding" bits of Sema, and also prevents tests to detect undefinedness in terms of the weaker C99 or C++ specifications from being applied. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/UnwrappedLineParser.cpp')
0 files changed, 0 insertions, 0 deletions