NoQ added inline comments.

Comment at: lib/StaticAnalyzer/Checkers/UninitializedObjectChecker.cpp:674
+  const LocationContext *LC = Context.getLocationContext();
+  while ((LC = LC->getParent())) {
george.karpenkov wrote:
> nit: could we have `while (LC)` followed by `LC = LC->getParent()` ? Do you 
> intentionally skip the first location context?
I guess the predicate we're checking is trivially true for the current location 

cfe-commits mailing list

Reply via email to