This is an archive of the discontinued LLVM Phabricator instance.

[scan-build] fix warning emitted on Clang Driver code base
Needs ReviewPublic

Authored by apelete on May 5 2016, 2:34 AM.

Details

Reviewers
kevin.qin
rsmith
Summary

Fix a "logic error" warning of the type Called c++ object pointer is
null" reported by Clang Static Analyzer on the file:

  • lib/Driver/Tools.cpp.

Signed-off-by: Apelete Seketeli <apelete@seketeli.net>

Diff Detail

Event Timeline

apelete updated this revision to Diff 56249.May 5 2016, 2:34 AM
apelete retitled this revision from to [scan-build] fix warning emitted on Clang Driver code base Fix a "logic error" warning of the type Called c++ object pointer is null" reported by Clang Static Analyzer on the file: - lib/Driver/Tools.cpp..
apelete updated this object.
apelete added reviewers: kevin.qin, rsmith.
apelete added a subscriber: cfe-commits.
apelete retitled this revision from [scan-build] fix warning emitted on Clang Driver code base Fix a "logic error" warning of the type Called c++ object pointer is null" reported by Clang Static Analyzer on the file: - lib/Driver/Tools.cpp. to [scan-build] fix warning emitted on Clang Driver code base.May 5 2016, 2:36 AM
apelete updated this object.

Should this be a test, or just an assertion?