[PATCH] D51295: Allow resetting of NumCreatedFIDsForFileID

2018-11-20 Thread Phabricator via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rC347304: Allow force updating the NumCreatedFIDsForFileID. (authored by vvassilev, committed by ). Repository: rC Clang https://reviews.llvm.org/D51295 Files: include/clang/Basic/SourceManager.h In

[PATCH] D51295: Allow resetting of NumCreatedFIDsForFileID

2018-08-27 Thread Vassil Vassilev via Phabricator via cfe-commits
v.g.vassilev updated this revision to Diff 162663. v.g.vassilev added a comment. Add parens. https://reviews.llvm.org/D51295 Files: include/clang/Basic/SourceManager.h Index: include/clang/Basic/SourceManager.h === --- include/

[PATCH] D51295: Allow resetting of NumCreatedFIDsForFileID

2018-08-27 Thread Vassil Vassilev via Phabricator via cfe-commits
v.g.vassilev created this revision. v.g.vassilev added reviewers: rsmith, akyrtzi. Herald added a subscriber: cfe-commits. Our internal clients implement parsing cache based on FileID. In order for the Preprocessor to reenter the cached FileID it needs to reset its NumCreatedFIDsForFileID. Alte