v.g.vassilev added inline comments.

================
Comment at: lib/Serialization/ASTReaderDecl.cpp:92
       for (unsigned I = 0, Size = Record.readInt(); I != Size; ++I)
-        IDs.push_back(ReadDeclID());
+        IDs.push_back(LazySpecializationInfo(ReadDeclID(), Record.readInt()));
     }
----------------
rsmith wrote:
> Move these subexpressions to separate statements; the two "read" calls are 
> not sequenced here.
Good catch!


https://reviews.llvm.org/D41416



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to