[all-commits] [llvm/llvm-project] 1d78e2: clang/Basic: ContentCache::InvalidFlag => ContentC...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Tue Oct 20 16:28:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d78e2101ab75f01615a45467c44da7181cccedb
      https://github.com/llvm/llvm-project/commit/1d78e2101ab75f01615a45467c44da7181cccedb
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    M clang/include/clang/Basic/SourceManager.h
    M clang/lib/Basic/SourceManager.cpp

  Log Message:
  -----------
  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




More information about the All-commits mailing list