[all-commits] [llvm/llvm-project] 3293c0: Remove dead code; NFC

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu Dec 7 05:27:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3293c088c25db5be6042d20bd95c80a0863a88d0
      https://github.com/llvm/llvm-project/commit/3293c088c25db5be6042d20bd95c80a0863a88d0
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M clang/include/clang/Lex/HeaderSearch.h
    M clang/lib/Lex/HeaderSearch.cpp
    M clang/lib/Lex/InitHeaderSearch.cpp

  Log Message:
  -----------
  Remove dead code; NFC

This code was added 17 years ago but never enabled or tested. GCC warns
that -I- is deprecated for them, and Clang gives an error when passed
-I-, so we may as well remove this code rather than hook it up to the
driver and maintain it.




More information about the All-commits mailing list