diff options
author | Patrick Beard <pcbeard@mac.com> | 2012-05-01 21:47:19 +0000 |
---|---|---|
committer | Patrick Beard <pcbeard@mac.com> | 2012-05-01 21:47:19 +0000 |
commit | e0fdadfd5103fa5f824920e813216615807c74ba (patch) | |
tree | 1d98359de4745ea8d1ca06c670ad754d087acea7 /lib/StaticAnalyzer/Core/SValBuilder.cpp | |
parent | d8a1361ab4a36d06fb5d37b07d444f4f9fcdb4a8 (diff) |
Clean up changes suggested by Douglas Gregor:
BuildObjCNumericLiteral() and BuildObjCBoxedExpr() now both using
PerformCopyInitialization() rather than PerformImplicitConversion(),
which suppresses errors.
In BuildObjCBoxedExpr(): no longer calling .getCanonicalType(),
ValueType->getAs() will remove the minimal amount of sugar.
Using ValueType->isBuiltinType() instead of isa<BuiltinType>(ValueType).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155949 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/SValBuilder.cpp')
0 files changed, 0 insertions, 0 deletions