/llvm-project/clang/test/VFS/ |
H A D | relative-path.c | 1 // RUN: mkdir -p %t 3 // RUN: sed -e "s@INPUT_DIR@%{/S:regex_replacement}/Inputs@g" -e "s@OUT_DIR@%{/t:regex_replacement}… 4 // RUN: %clang_cc1 -Werror -I . -ivfsoverlay %t.yaml -fsyntax-only %s 7 // RUN: sed -e "s@OVERLAY_DIR@true@g" -e "s@EXTERNAL_DIR@.@g" %S/Inputs/root-relative-overlay.yaml … 8 // RUN: %clang_cc1 -Werror -I %t -ivfsoverlay %t/root-relative-overlay.yaml -fsyntax-only %s 10 // RUN: sed -e "s@OVERLAY_DIR@false@g" -e "s@EXTERNAL_DIR@%{/t:regex_replacement}@g" %S/Inputs/root… 11 // RUN: %clang_cc1 -Werror -I %t -ivfsoverlay %t/root-relative-overlay2.yaml -fsyntax-only %s
|
H A D | directory.c | 1 // RUN: rm -rf %t 2 // RUN: mkdir -p %t/Underlying 3 // RUN: mkdir -p %t/Overlay 4 // RUN: mkdir -p %t/Middle 11 // RUN: echo '// C.h in Overlay' > %t/Overlay/C.h 13 // 1) Underlying -> Overlay (C.h found, B.h falling back to Underlying) 14 // RUN: sed -e "s@INPUT_DIR@%{/t:regex_replacement}/Overlay@g" -e "s@OUT_DIR@%{/t:regex_replacement… 15 // RUN: %clang_cc1 -Werror -I %t/Underlying -ivfsoverlay %t/vfs.yaml -E -C %s 2>&1 | FileCheck --ch… 16 // RUN: %clang_cc1 -Werror -I %t/Underlying -ivfsoverlay %t/vfs.yaml -DNESTED -E -C %s 2>&1 | FileC… 17 …: sed -e "s@INPUT_DIR@Overlay@g" -e "s@OUT_DIR@%{/t:regex_replacement}/Underlying@g" %S/Inputs/vfs… [all …]
|
/llvm-project/clang/test/VFS/Inputs/ |
H A D | root-relative-overlay.yaml | 3 'case-sensitive': false, 4 'overlay-relative': OVERLAY_DIR, 5 'root-relative': 'overlay-dir', 8 'external-contents': 'EXTERNAL_DIR/actual_header.h'
|
H A D | vfsoverlay-directory-relative.yaml | 4 'overlay-relative': true, 7 'type': 'directory-remap', 8 'external-contents': 'INPUT_DIR'
|
H A D | vfsoverlay-root-relative.yaml | 4 'overlay-relative': true, 10 'external-contents': 'actual_header.h',
|
/llvm-project/clang/test/Modules/ |
H A D | crash-vfs-path-traversal.m | 1 // REQUIRES: crash-recovery, shell 2 // UNSUPPORTED: ms-sdk, target={{.*-(ps4|ps5)}} 4 // FIXME: Canonicalizing paths to remove relative traversal components 6 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it? 7 // XFAIL: target={{.*-windows-gnu}} 9 // RUN: rm -rf %t 10 // RUN: mkdir -p %t/i %t/m %t 13 // RUN: not %clang -fsyntax-only %s -I %S/Inputs/crash-recovery -isysroot %/t/i/ \ 14 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s 16 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m [all …]
|
H A D | crash-vfs-relative-overlay.m | 1 // REQUIRES: crash-recovery, shell 3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it? 4 // XFAIL: target={{.*-windows-gnu}} 6 // RUN: rm -rf %t 7 // RUN: mkdir -p %t/i %t/m %t 10 // RUN: not %clang -fsyntax-only -nostdinc %s \ 11 // RUN: -I %S/Inputs/crash-recovery/usr/include -isysroot %/t/i/ \ 12 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s 14 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m 15 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh [all …]
|
H A D | crash-vfs-path-symlink-component.m | 1 // REQUIRES: crash-recovery, shell 3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it? 4 // XFAIL: target={{.*-windows-gnu}} 9 // RUN: rm -rf %t 10 // RUN: mkdir -p %t/i %t/m %t %t/sysroot 11 // RUN: cp -R %S/Inputs/crash-recovery/usr %t/i/ 12 // RUN: ln -s include/tcl-private %t/i/usr/x 15 // RUN: not %clang -fsyntax-only %s -I %/t/i -isysroot %/t/sysroot/ \ 16 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s 18 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m [all …]
|
H A D | crash-vfs-include-pch.m | 1 // REQUIRES: crash-recovery, shell, system-darwin 3 // RUN: rm -rf %t 4 // RUN: mkdir -p %t/m %t/out 6 // RUN: %clang_cc1 -x objective-c-header -emit-pch %S/Inputs/pch-use [all...] |
H A D | crash-vfs-headermaps.m | 1 // REQUIRES: crash-recovery, shell, system-darwin 3 // RUN: rm -rf %t 4 // RUN: mkdir -p %t/m %t/i/Foo.framework/Headers 6 // RUN: %hmaptool write %S/../Preprocessor/Inputs/headermap-rel/foo.hmap.json %t/i/foo.hmap 9 // RUN: not %clang -fsyntax-only -fmodules -fmodules-cache-path=%t/m %s \ 10 // RUN: -I %t/i/foo.hmap -F %t/i 2>&1 | FileCheck %s 12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh 13 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \ 14 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml 20 // CHECK-NEXT: note: diagnostic msg: {{.*}}.m [all …]
|
H A D | crash-vfs-ivfsoverlay.m | 1 // REQUIRES: crash-recovery, system-darwin 3 // RUN: rm -rf %t 4 // RUN: mkdir -p %t/m 6 // RUN: sed -e "s@INPUT_DIR@%{/t:regex_replacement}@g" -e "s@OUT_DIR@%{/t:regex_replacement}/exampl… 11 // RUN: not %clang -fsyntax-only -nostdinc %s \ 12 // RUN: -I %S/Inputs/crash-recovery/usr/include \ 13 // RUN: -ivfsoverlay %t/srcvfs.yaml \ 14 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s 16 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh 17 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \ [all …]
|
H A D | crash-vfs-run-reproducer.m | 1 // REQUIRES: crash-recovery, shell, system-darwin 3 // RUN: rm -rf %t 4 // RUN: mkdir -p %t/i %t/m %t 7 // RUN: not %clang -fsyntax-only -nostdinc %s \ 8 // RUN: -I %S/Inputs/crash-recovery/usr/include -isysroot %/t/i/ \ 9 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s 11 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m 12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh 13 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \ 14 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml [all …]
|
H A D | crash-vfs-relative-incdir.m | 1 // REQUIRES: crash-recovery, shell, system-darwin 3 // RUN: rm -rf %t 4 // RUN: mkdir -p %t/m 5 // RUN: cd %S/Inputs/crash-recovery/usr 8 // RUN: not %clang -fsyntax-only -nostdinc %s -Iinclude \ 9 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s 11 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m 12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh 13 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \ 14 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml [all …]
|
/llvm-project/llvm/include/llvm/Support/ |
H A D | VirtualFileSystem.h | 1 //===- VirtualFileSystem.h - Virtual File System Layer -------- [all...] |
H A D | FileCollector.h | 1 //===-- FileCollector.h -----------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 55 /// - a copy of the file inside Root 56 /// - a record in RedirectingFileSystem mapping that maps: 57 /// current real path -> path to the copy in Root 62 /// We generate file copies and mapping lazily - see writeMapping and copyFiles. 67 /// In order to preserve the relative topology of files we use their real paths 68 /// as relative paths inside of the Root. 134 /// The root directory where the VFS overlay lives.
|
/llvm-project/utils/bazel/ |
H A D | configure.bzl | 3 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 5 """Helper macros to configure the LLVM overlay project.""" 7 # Directory of overlay files relative to WORKSPACE 8 DEFAULT_OVERLAY_PATH = "llvm-project-overlay" [all...] |
/llvm-project/clang/test/ClangScanDeps/ |
H A D | modules-implementation-vfs.m | 4 // RUN: rm -rf %t 5 // RUN: split-file %s %t 7 //--- real/A.modulemap 9 //--- real/A.private.modulemap 12 //--- frameworks/A.framework/Headers/A.h 14 //--- frameworks/A.framework/PrivateHeaders/A_Private.h 17 //--- frameworks/B.framework/Headers/B.h 19 //--- frameworks/B.framework/Modules/module.modulemap 22 //--- overlay.json.template 24 "case-sensitive": "false", [all …]
|
/llvm-project/clang/lib/Frontend/ |
H A D | ModuleDependencyCollector.cpp | 1 //===--- ModuleDependencyCollector.cpp - Collect module dependencies ------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 18 #include "llvm/Config/llvm-config.h" 38 // Run this through the FileManager in order to respect 'use-external-name' in visitInputFile() 39 // in case we have a VFS overlay. in visitInputFile() 41 Filename = FE->getName(); in visitInputFile() 63 Collector.addFile(File->getName()); in InclusionDirective() 119 // Default to use relative overlay directories in the VFS yaml file. This in writeFileMap() [all …]
|
H A D | PrecompiledPreamble.cpp | 1 //===--- PrecompiledPreamble.cpp - Build precompiled preambles --*- C++ -*-===// 5 // SPDX-Licens 63 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> Overlay( createVFSOverlayForPreamblePCH() local [all...] |
/llvm-project/llvm/cmake/platforms/ |
H A D | WinMsvc.cmake | 1 # Cross toolchain configuration for using clang-cl on non-Windows hosts to 5 # cmake -G Ninja 6 # -DCMAKE_TOOLCHAIN_FILE=/path/to/this/file 7 # -DHOST_ARCH=[aarch64|arm64|armv7|arm|i686|x86|x86_64|x64] 8 # -DLLVM_NATIVE_TOOLCHAIN=/path/to/llvm/installation 9 # -DLLVM_WINSYSROOT=/path/to/win/sysroot 10 # -DMSVC_VER=vc tools version folder name 11 # -DWINSDK_VER=windows sdk version folder name 19 # copy of clang-c [all...] |
/llvm-project/libc/docs/dev/ |
H A D | code_style.rst | 15 #. **Non-const variables** - This includes function arguments, struct and 16 class data members, non-const globals and local variables. They all use the 18 #. **const and constexpr variables** - They use the capitalized 20 #. **Function and methods** - They use the ``snake_case`` style like the 21 non-const variables. 22 #. **Internal type names** - These are types which are internal to the libc 24 #. **Public names** - These are the names as prescribed by the standards and 33 down to the compiler with the ``-D`` command line flag. They start with the 40 * ``src/__support/macros/properties/`` - Build related properties like 44 * ``architectures.h`` - Target architecture properties. [all …]
|
/llvm-project/llvm/lib/Support/ |
H A D | VirtualFileSystem.cpp | 1 //===- VirtualFileSystem.cpp - Virtual File System Layer -------- [all...] |
/llvm-project/clang/include/clang/Lex/ |
H A D | HeaderSearchOptions.h | 1 //===- HeaderSearchOptions.h --------- [all...] |
/llvm-project/lldb/source/Plugins/ObjectFile/PECOFF/ |
H A D | ObjectFilePECOFF.h | 1 //===-- ObjectFilePECOFF.h -------- [all...] |
/llvm-project/llvm/docs/ |
H A D | CMake.rst | 11 `CMake <http://www.cmake.org/>`_ is a cross-platform build-generator tool. CMake 34 We use here the command-line, non-interactive CMake interface. 45 .. code-block:: console 53 .. code-block:: console 70 components are built; see the `Frequently Used LLVM-related 76 .. code-block:: console 78 $ cmake --buil [all...] |