Home
last modified time | relevance | path

Searched +full:root +full:- +full:relative (Results 1 – 25 of 246) sorted by relevance

12345678910

/llvm-project/clang/test/VFS/
H A Drelative-path.c1 // 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
/llvm-project/llvm/utils/docker/scripts/llvm_checksum/
H A Dproject_tree.py14 """An LLVM project with a descriptive name and a relative checkout path."""
28 checkout_root: root of the LLVM checkout.
44 for root, dirs, files in os.walk(project_root, onerror=raise_error):
50 and os.path.join(root, d) not in ignored_paths
53 visitor(os.path.join(root, f))
57 … """Returns a list of LLVMProject instances, describing relative paths of a typical LLVM checkout.
61 When True, relative paths for each project points to a typical single
63 When False, relative paths for each projects points to a separate
64 directory. However, clang-tools-extra is an exception, its relative path
71 "compiler-rt",
[all …]
/llvm-project/clang/test/Profile/
H A Dcoverage-prefix-map.c1 // %s expands to an absolute path, so to test relative paths we need to create a
3 // RUN: rm -rf %t
4 // RUN: mkdir -p %t/root/nested
5 // RUN: echo "void f1(void) {}" > %t/root/nested/coverage-prefix-map.c
6 // RUN: cd %t/root
8-fprofile-instrument=clang -fcoverage-mapping -emit-llvm -mllvm -enable-name-compression=false -ma…
10 // ABSOLUTE: @__llvm_coverage_mapping = {{.*"\\02.*root.*nested.*coverage-prefix-map\.c}}
12-fprofile-instrument=clang -fcoverage-mapping -emit-llvm -mllvm -enable-name-compression=false -ma…
14 // RELATIVE: @__llvm_coverage_mapping = {{.*"\\02.*}}..{{/|\\+}}root{{/|\\+}}nested{{.*coverage-pre…
16-fprofile-instrument=clang -fcoverage-mapping -emit-llvm -mllvm -enable-name-compression=false -ma…
[all …]
/llvm-project/utils/bazel/llvm-project-overlay/mlir/
H A Dtblgen.bzl3 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
15 " are the absolute directory paths that will be added with '-I'."
65 """Map the given includes to be relative to all root directories.
67 This will expand them to be relative to all the root directories available
69 the normal source root)
79 """Resolves include paths to paths relative to the execution root.
81 Relative paths are interpreted as relative to the current label's package.
82 Absolute paths are interpreted as relative to the current label's workspace
83 root."""
130 " invocation. Relative paths are interpreted as relative to" +
[all …]
/llvm-project/clang/lib/Rewrite/
H A DRewriteRope.cpp
/llvm-project/llvm/include/llvm/Support/
H A DFileCollector.h1 //===-- 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.
92 /// \p Root is the directory where collected files are will be stored.
[all …]
H A DPath.h1 //===- llvm/Support/Path.h - Path Operating System Concept ------*- C++ -*
[all...]
H A DVirtualFileSystem.h1 //===- VirtualFileSystem.h - Virtual File System Layer --------
525 std::unique_ptr<detail::InMemoryDirectory> Root; global() variable
[all...]
/llvm-project/clang-tools-extra/clangd/unittests/
H A DPathMappingTests.cpp1 //===-- PathMappingTests.cpp ------------------------*- C++ -*-----------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
33 // Relative path to C drive in TEST()
34 EXPECT_TRUE(failedParse(R"(C:a=/root)")); in TEST()
35 EXPECT_TRUE(failedParse(R"(\C:a=/root)")); in TEST()
36 // Relative path to current drive. in TEST()
37 EXPECT_TRUE(failedParse(R"(\a=/root)")); in TEST()
40 parsePathMappings(R"(C:\a=/root)"); in TEST()
42 EXPECT_THAT(*ParsedMappings, ElementsAre(Mapping("/C:/a", "/root"))); in TEST()
[all …]
/llvm-project/clang/tools/scan-view/bin/
H A Dscan-view65 def run(port, options, root): argument
66 # Prefer to look relative to the installed binary
67 share = os.path.dirname(__file__) + "/../share/scan-view"
69 # Otherwise look relative to the source
70 share = os.path.dirname(__file__) + "/../../scan-view/share"
75 print('Starting scan-view at: http://%s:%d' % (options.host,
77 print(' Use Ctrl-C to exit.')
79 options, root)
102 parser.add_argument("root", metavar="<results directory>", type=str)
104 '--host', dest="host", default=kDefaultHost, type=str,
[all …]
/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/
H A DMarshalling.h1 //===--- Marshalling.h -------
[all...]
/llvm-project/clang/utils/analyzer/
H A DCmpRuns.py4 CmpRuns - A simple tool for comparing two static analyzer runs to determine
58 # Diff in a form: field -> (before, after)
77 RELATIVE = "relative" variable in HistogramType
78 LOG_RELATIVE = "log-relative"
84 root: str = "" variable in ResultsDirectory
90 path - the analysis output directory
91 root - the name of the root directory, which will be disregarded when
97 self.root = results.root.rstrip("/\\")
111 def get_file_name(self) -> str:
112 root = self._report.run.root
[all …]
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/debugger/
H A DDebuggers.py6 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
56 flag=f"--debugger={context.options.debugger}",
63 "--lldb-executable",
79 "-
[all...]
/llvm-project/clang-tools-extra/docs/
H A DModularizeUsage.rst5 ``modularize [<modularize-options>] [<module-map>|<include-files-list>]*
6 [<front-end-options>...]``
8 ``<modularize-options>`` is a place-holder for options
12 ``<module-map>`` specifies the path of a file name for an
13 existing module map. The module map must be well-formed in
17 as a top-level include, assuming they either are included by
21 ``<include-files-list>`` specifies the path of a file name for a
22 file containing the newline-separated list of headers to check
25 other space-separated file names will include those extra files
26 as dependencies. The file names can be relative or full paths,
[all …]
/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTBundleLoader.h1 //===-- TraceIntelPTBundleLoader.h ----------------------------*- C++ //-*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
33 /// intel pt trace plug-in.
56 /// Resolve non-absolute paths relative to the bundle folder.
59 /// Create a post-mortem thread associated with the given \p process
89 /// Create a user-friendly error message upon a JSON-parsing failure using the
92 /// \param[in] root
93 /// The \a llvm::json::Path::Root used to parse the JSON \a value.
99 /// An \a llvm::Error containing the user-friendly error message.
[all …]
/llvm-project/clang/test/VFS/Inputs/
H A Droot-relative-overlay.yaml3 'case-sensitive': false,
4 'overlay-relative': OVERLAY_DIR,
5 'root-relative': 'overlay-dir',
8 'external-contents': 'EXTERNAL_DIR/actual_header.h'
/llvm-project/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/dex_commands/
H A Dsource_root_dir.dex2 ## Check that \DexDeclareFile's file declaration can be made relative to the
3 ## --source-root-dir path.
5 # UNSUPPORTED: system-darwin
7 # RUN: %clang %S/../source/test.cpp -O0 -g -o %t
8 # RUN: %dexter_regression_base --binary %t \
9 # RUN: --source-root-dir="%S/../source" -- %s | FileCheck %s
20 ## test.cpp is found in ../source, which we set as the source-root-dir.
/llvm-project/clang/lib/Tooling/
H A DFileMatchTrie.cpp1 //===- FileMatchTrie.cpp --------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
42 /// child nodes. The trie starts with an empty root node.
50 /// 'p'starts at the root node and does the following:
51 /// - If the node is empty, insert 'p' into its storage and abort.
52 /// - If the node has a path 'p2' but no children, take the last path segment
55 /// - Insert a new child for the last segment of 'p' and insert the rest of
60 // We cannot put relative paths into the FileMatchTrie as then a path can be in insert()
[all …]
/llvm-project/llvm/docs/
H A DCMake.rst11 `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
50 #. Execute this command in the shell replacing `path/to/llvm/source/root` with
51 the path to the root of your LLVM source tree:
53 .. code-block:: console
55 $ cmake path/to/llvm/source/root
70 components are built; see the `Frequently Used LLVM-relate
[all...]
H A DProjects.rst18 * ``PROJECT_NAME`` - The name by which your project is known.
19 * ``LLVM_SRC_ROOT`` - The root of the LLVM source tree.
20 * ``LLVM_OBJ_ROOT`` - The root of the LLVM object tree.
21 * ``PROJ_SRC_ROOT`` - The root of the project's source tree.
22 * ``PROJ_OBJ_ROOT`` - The root of the project's object tree.
23 * ``PROJ_INSTALL_ROOT`` - The root installation directory.
24 * ``LEVEL`` - The relative path from the current directory to the
25 project's root ``($PROJ_OBJ_ROOT)``.
33 * You can write your own ``Makefiles`` which hard-code these values.
35 * You can use the pre-made LLVM sample project. This sample project includes
[all …]
/llvm-project/mlir/cmake/modules/
H A DAddMLIRPython.cmake16 # CMAKE_CURRENT_SOURCE_DIR). For non-relocatable sources, this will
17 # typically just be the root of the python source tree (current directory).
19 # can be relocated. For generated sources, can be relative to
24 # SOURCES: List of specific source files relative to ROOT_DIR to include.
25 # SOURCES_GLOB: List of glob patterns relative to ROOT_DIR to include.
44 RELATIVE "${ARG_ROOT_DIR}"
54 # Yes: Leading-lowercase property names are load bearing and the recommended
55 # way to do this: https://gitlab.kitware.com/cmake/cmake/-/issues/19261
106 # ROOT_DIR: Root directory where sources are interpreted relative t
[all...]
/llvm-project/llvm/include/llvm/WindowsDriver/
H A DMSVCSetupApi.h33 #pragma clang diagnostic ignored "-Wnon-virtual-dtor"
138 struct DECLSPEC_UUID("B41463C3-8866-43B5-BC33-2B0676F7F42E")
173 /// Gets the path to the installation root of the product.
175 /// <param name="pbstrInstallationPath">The path to the installation root of
215 /// Resolves the optional relative path to the root path of the instance.
217 /// <param name="pwszRelativePath">A relative path within the instance to
218 /// resolve, or NULL to get the root path.</param>
219 /// <param name="pbstrAbsolutePath">The full path to the optional relative
220 /// path within the instance. If the relative path is NULL, the root path will
236 struct DECLSPEC_UUID("89143C9A-05AF-49B0-B717-72E218A2185C")
[all …]
/llvm-project/llvm/unittests/Support/
H A DVirtualFileSystemTest.cpp1 //===- unittests/Support/VirtualFileSystem.cpp ---------
486 TempDir Root("r", /*Unique*/ true); TEST() local
2550 SmallString<128> Root("relative/directory"); TEST_F() local
[all...]
/llvm-project/libclc/
H A DCMakeLists.txt21 amdgcn-amdhsa/lib/SOURCES;
23 amdgcn-mesa3d/lib/SOURCES;
29 ptx-nvidiacl/lib/SOURCES;
44 CACHE STRING "Semicolon-separated list of libclc targets to build, or 'all'." )
49 # Out-of-tree configuration
63 foreach( tool IN ITEMS clang llvm-as llvm-link opt )
70 # In-tree configuration
76 # more useful error message when built in-tre
[all...]
/llvm-project/llvm/utils/
H A Dwciia.py3 wciia - Whose Code Is It Anyway
5 Determines code owner of the file/folder relative to the llvm source root.
14 - must be run from llvm source root
15 - very simplistic algorithm
16 - only handles * as a wildcard
17 - not very user friendly
18 - does not handle the proposed F: field
78 lmatch = -1
92 rpos = -1
106 exit(-1)
[all …]

12345678910