[all-commits] [llvm/llvm-project] 31873d: [include-cleaner] Handle files with unnamed buffers

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Fri Aug 4 02:25:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31873d3fca38e32a17c2b0aa8975e09aca0f8f89
      https://github.com/llvm/llvm-project/commit/31873d3fca38e32a17c2b0aa8975e09aca0f8f89
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M clang-tools-extra/include-cleaner/lib/Record.cpp
    M clang-tools-extra/include-cleaner/unittests/RecordTest.cpp

  Log Message:
  -----------
  [include-cleaner] Handle files with unnamed buffers

Some tools can register virtual buffers without identifiers into the
filemanager. Make sure we can handle pragmas in such cases.

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




More information about the All-commits mailing list