[PATCH] D19385: [scan-build] fix logic error warnings emitted on clang code base
Manuel Klimek via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 27 23:48:33 PDT 2016
klimek added a reviewer: djasper.
================
Comment at: lib/Format/AffectedRangeManager.cpp:103
@@ -102,1 +102,3 @@
AnnotatedLine *Line, const AnnotatedLine *PreviousLine) {
+ assert(Line && "does not contain any line");
+
----------------
Perhaps we should change this to take a Line& instead? Daniel, thoughts?
http://reviews.llvm.org/D19385
More information about the cfe-commits
mailing list