[all-commits] [llvm/llvm-project] f3314e: [clang-tidy] Pop Files only if FileChangeReason is...

Jim Lin via All-commits all-commits at lists.llvm.org
Tue Jan 25 06:43:46 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3314e3747873fdf026a28742a30f372503baf32
      https://github.com/llvm/llvm-project/commit/f3314e3747873fdf026a28742a30f372503baf32
  Author: Jim Lin <jim at andestech.com>
  Date:   2022-01-25 (Tue, 25 Jan 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/DuplicateIncludeCheck.cpp

  Log Message:
  -----------
  [clang-tidy] Pop Files only if FileChangeReason is ExitFile

enum FileChangeReason has four possible type EnterFile, ExitFile,
SystemHeaderPragma and RenameFile,
It should pop the back element of Files only if FileChangeReason is ExitFile.




More information about the All-commits mailing list