Allow force updating the NumCreatedFIDsForFileID.
commit6fbb3e08d784341905e62968dc6992386a20adc3
authorVassil Vassilev <v.g.vassilev@gmail.com>
Tue, 20 Nov 2018 13:53:20 +0000 (20 13:53 +0000)
committerVassil Vassilev <v.g.vassilev@gmail.com>
Tue, 20 Nov 2018 13:53:20 +0000 (20 13:53 +0000)
tree06b77fc66975f9121235bc76c791199075444f9d
parentee8b96f25345c19a1f7705acd93b66c74f9119d7
Allow force updating the NumCreatedFIDsForFileID.

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.

Differential Revision: https://reviews.llvm.org/D51295

llvm-svn: 347304
clang/include/clang/Basic/SourceManager.h