[all-commits] [llvm/llvm-project] 12a654: Add support for sysroot-relative system header sea...

Evan Wilde via All-commits all-commits at lists.llvm.org
Tue Mar 19 13:17:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12a6546395c6225112731f33608afed452c4f8d1
      https://github.com/llvm/llvm-project/commit/12a6546395c6225112731f33608afed452c4f8d1
  Author: Evan Wilde <etceterawilde at gmail.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/Preprocessor/sysroot-prefix.c

  Log Message:
  -----------
  Add support for sysroot-relative system header search paths (#82084)

Clang supported header searchpaths of the form `-I =/path`, relative to
the sysroot if one is passed, but did not implement that behavior for
`-iquote`, `-isystem`, or `-idirafter`.

This implements the `=` portion of the behavior implemented by GCC for
these flags described in
https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list