bnbarham accepted this revision.
bnbarham added inline comments.

================
Comment at: clang/lib/Frontend/ASTUnit.cpp:825
   HeaderSearch &HeaderInfo = *AST->HeaderInfo;
-  unsigned Counter;
 
----------------
> I assume it's optional and ReadAST does not have to set the counter on 
> success.

Looks like we only write the counter value when it's non-zero. So the reader 
would never set it. Thanks for fixing!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150492/new/

https://reviews.llvm.org/D150492

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

Reply via email to