[all-commits] [llvm/llvm-project] 396b56: [clang] use relative paths for builtin headers dur...

Richard Howell via All-commits all-commits at lists.llvm.org
Fri Oct 27 07:11:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 396b5621f94ca6fc4d86d4fb0e33e9e51a86affd
      https://github.com/llvm/llvm-project/commit/396b5621f94ca6fc4d86d4fb0e33e9e51a86affd
  Author: Richard Howell <rmaz at users.noreply.github.com>
  Date:   2023-10-27 (Fri, 27 Oct 2023)

  Changed paths:
    M clang/include/clang/Lex/ModuleMap.h
    M clang/lib/Lex/ModuleMap.cpp
    M clang/lib/Lex/PPDirectives.cpp
    A clang/test/Modules/Inputs/builtin-headers/module.modulemap
    A clang/test/Modules/relative-resource-dir.m

  Log Message:
  -----------
  [clang] use relative paths for builtin headers during module compilation (#68023)

When including builtin headers as part of a system module, ensure we use
relative paths to those headers. Otherwise the module will fail to compile 
when specifying relative resource directories without extra search paths.




More information about the All-commits mailing list