aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/BasicAliasAnalysis.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-01-24 18:59:52 +0000
committerTed Kremenek <kremenek@apple.com>2008-01-24 18:59:52 +0000
commitcadf873c83ad7ea7c638e6d98fc5f20752702b03 (patch)
treed182285a6146224dacef0764045dea71612eddc7 /lib/Analysis/BasicAliasAnalysis.cpp
parentfd687500384803311556571989dc14cd84786904 (diff)
Added additional overloaded operators for APSInt to match the operators of
APInt. While some operators were already specifically overloaded for APSInt, others resulted in using the overloaded operator methods in APInt, which would result in the signedness bit being lost. Modified the APSInt(APInt&) constructor to be "explicit" and to take an extra (optional) flag to indicate the signedness. Making the ctor explicit will catch any implicit conversations between APSInt -> APInt -> APSInt that results in the signedness flag being lost. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46316 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicAliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions