[PATCH] D51417: [analyzer][UninitializedObjectChecker] Updated comments
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 6 18:41:16 PDT 2018
NoQ accepted this revision.
NoQ added a comment.
This revision is now accepted and ready to land.
Comments always welcome!
================
Comment at: lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp:363-364
+
+ // ImmutableList::getHead() isn't a const method, hence the not too nice
+ // implementation.
return (*Chain.begin()).getRegion();
----------------
Ugh, why is it not `const`?
Repository:
rC Clang
https://reviews.llvm.org/D51417
More information about the cfe-commits
mailing list