mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 06:16:05 +00:00

This diff adds support for relative roots to VFS overlays. The directory root will be made absolute from the current working directory and will be used to determine the path style to use. This supports the use of VFS overlays with remote build systems that might use a different working directory for each compilation. Reviewed By: benlangmuir Differential Revision: https://reviews.llvm.org/D116174
4 lines
137 B
C
4 lines
137 B
C
// RUN: %clang_cc1 -Werror -ivfsoverlay %S/Inputs/vfsoverlay-root-relative.yaml -I virtual -fsyntax-only %s
|
|
|
|
#include "virtual_header.h"
|