clang/Basic: ContentCache::InvalidFlag => ContentCache::IsBufferInvalid, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 14 Oct 2020 21:54:44 +0000 (17:54 -0400)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 20 Oct 2020 23:28:17 +0000 (19:28 -0400)
commit1d78e2101ab75f01615a45467c44da7181cccedb
treef3e759ce8ce2e8ff771c052316c3ef28d0dc7238
parent7175cffb2133048018df74c1b49d1d4962ea18f2
clang/Basic: ContentCache::InvalidFlag => ContentCache::IsBufferInvalid, NFC

Move a flag out of the `MemoryBuffer*` to unblock changing it to a
`unique_ptr`. There are plenty of bits available in the bitfield below.

Differential Revision: https://reviews.llvm.org/D89431
clang/include/clang/Basic/SourceManager.h
clang/lib/Basic/SourceManager.cpp