Fix "Logic error" warnings of the type "Called C++ object pointer is
null" reported by Clang Static Analyzer on the following file:
- lib/Format/AffectedRangeManager.cpp.
Signed-off-by: Apelete Seketeli <apelete@seketeli.net>
Differential D19385
[scan-build] fix warnings emitted on Clang Format code base apelete on Apr 21 2016, 12:32 PM. Authored by
Details
Diff Detail Event Timeline
Comment Actions [scan-build] fix logic error warnings emitted on clang code base Chnages since last revision:
Comment Actions [scan-build] fix logic error warnings emitted on clang code base Changes since last revision:
Comment Actions [scan-build] fix logic error warnings emitted on clang code base Changes since last revison:
Comment Actions [scan-build] fix logic error warnings emitted on clang code base Changes since last revision:
Comment Actions [scan-build] fix logic error warnings emitted on clang code base Changes since last revision:
Comment Actions [scan-build] fix logic error warnings emitted on clang code base Changes since last revision:
Comment Actions [scan-build] fix warnings emitted on Clang Format code base Changes since last revision:
|
Perhaps we should change this to take a Line& instead? Daniel, thoughts?