Home
last modified time | relevance | path

Searched refs:filePath (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/clang/tools/clang-format-vs/ClangFormat/
H A DClangFormatPackage.cs260 private static bool FileHasExtension(string filePath, string fileExtensions) in FileHasExtension() argument
263 return extensions.Contains(Path.GetExtension(filePath).ToLower()); in FileHasExtension()
302 string filePath = Vsix.GetDocumentPath(view); in FormatSelection()
304 RunClangFormatAndApplyReplacements(text, start, end, path, filePath, options, view); in FormatSelection()
326 string filePath = Vsix.GetDocumentPath(view); in FormatView()
327 var path = Path.GetDirectoryName(filePath); in FormatView()
336 RunClangFormatAndApplyReplacements(text, 0, text.Length, path, filePath, options, view); in FormatView()
339 …dApplyReplacements(string text, int start, int end, string path, string filePath, OptionPageGrid o… in RunClangFormatAndApplyReplacements() argument
343 string replacements = RunClangFormat(text, start, end, path, filePath, options); in RunClangFormatAndApplyReplacements()
368 …ing RunClangFormat(string text, int start, int end, string path, string filePath, OptionPageGrid o… in RunClangFormat() argument
[all …]
H A DVsix.cs54 public static IVsTextView GetVsTextViewFrompPath(string filePath) in GetVsTextViewFrompPath() argument
64 if (VsShellUtilities.IsDocumentOpen(serviceProvider, filePath, Guid.Empty, in GetVsTextViewFrompPath()
/llvm-project-15.0.7/mlir/utils/vscode/src/
H A DmlirContext.ts309 async resolvePath(filePath: string, defaultPath: string,
311 const configPath = filePath;
314 if (path.isAbsolute(filePath)) {
315 return filePath;
319 if (filePath === '') {
321 return filePath;
323 filePath = defaultPath;
329 let filePattern: vscode.GlobPattern = '**/' + filePath;
/llvm-project-15.0.7/lld/MachO/
H A DLTO.cpp162 SmallString<261> filePath("/tmp/lto.tmp"); in compile() local
165 filePath = config->ltoObjPath; in compile()
167 path::append(filePath, Twine(i) + "." + in compile()
170 saveBuffer(buf[i], filePath); in compile()
171 modTime = getModTime(filePath); in compile()
174 MemoryBufferRef(buf[i], saver().save(filePath.str())), modTime, "")); in compile()
/llvm-project-15.0.7/clang/include/clang/ARCMigrate/
H A DFileRemapper.h48 bool initFromFile(StringRef filePath, DiagnosticsEngine &Diag,
56 void remap(StringRef filePath, std::unique_ptr<llvm::MemoryBuffer> memBuf);
72 const FileEntry *getOriginalFile(StringRef filePath);
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DFileRemapper.cpp55 bool FileRemapper::initFromFile(StringRef filePath, DiagnosticsEngine &Diag, in initFromFile() argument
59 std::string infoFile = std::string(filePath); in initFromFile()
223 void FileRemapper::remap(StringRef filePath, in remap() argument
225 remap(getOriginalFile(filePath), std::move(memBuf)); in remap()
244 const FileEntry *FileRemapper::getOriginalFile(StringRef filePath) { in getOriginalFile() argument
246 if (auto fileOrErr = FileMgr->getFile(filePath)) in getOriginalFile()
H A DARCMT.cpp610 SmallString<64> filePath(file->getName()); in applyTransform() local
611 Unit->getFileManager().FixupRelativePath(filePath); in applyTransform()
612 Remapper.remap(filePath.str(), std::move(memBuf)); in applyTransform()
H A DObjCMT.cpp1972 SmallString<64> filePath(file->getName()); in HandleTranslationUnit() local
1973 FileMgr.FixupRelativePath(filePath); in HandleTranslationUnit()
1974 Remapper.remap(filePath.str(), std::move(memBuf)); in HandleTranslationUnit()
/llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/
H A DProtocol.h110 StringRef file() const { return filePath; } in file()
115 explicit operator bool() const { return !filePath.empty(); }
118 return lhs.filePath == rhs.filePath;
124 return lhs.filePath < rhs.filePath;
128 explicit URIForFile(std::string &&filePath, std::string &&uriStr) in URIForFile() argument
129 : filePath(std::move(filePath)), uriStr(uriStr) {} in URIForFile()
131 std::string filePath; variable
H A DProtocol.cpp216 llvm::Expected<std::string> filePath = parseFilePathFromURI(uri); in fromURI() local
217 if (!filePath) in fromURI()
218 return filePath.takeError(); in fromURI()
219 return URIForFile(std::move(*filePath), uri.str()); in fromURI()
/llvm-project-15.0.7/clang/tools/clang-format/
H A Dclang-format-bbedit.applescript17 set filePath to urlToPOSIXPath(fileURL)
18 …-format -offset=" & selectionOffset & " -length=" & selectionLength & " " & quoted form of filePath
/llvm-project-15.0.7/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp368 llvm::StringRef filePath() const { in filePath() function in PrecompiledPreamble::PCHStorage
437 StoreInMemory ? getInMemoryPreamblePath() : Storage->filePath()); in Build()
577 if (llvm::sys::fs::file_size(Storage->filePath(), Result)) in getSize()
779 llvm::StringRef PCHPath = Storage.filePath(); in setupPreambleStorage()
/llvm-project-15.0.7/openmp/runtime/src/thirdparty/ittnotify/
H A Dittnotify_static.h760 const char *filePath, int columnOrder),
761 (ITT_FORMAT data, rank, dimensions, type, filePath, columnOrder),
765 const wchar_t *filePath, int columnOrder),
766 (ITT_FORMAT data, rank, dimensions, type, filePath, columnOrder),
771 const char *filePath, int columnOrder),
772 (ITT_FORMAT data, rank, dimensions, type, filePath, columnOrder),
H A Dittnotify.h3908 const char *filePath, int columnOrder);
3910 const wchar_t *filePath, int columnOrder);
3920 const char *filePath, int columnOrder);
3929 const char *filePath, int columnOrder))
3932 const wchar_t *filePath, int columnOrder))
3936 const char *filePath, int columnOrder))
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dcomptypes-legal.m25 NSObject *ExternFunc (NSObject *filePath, NSObject *key);
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DRename.cpp42 llvm::Optional<std::string> filePath(const SymbolLocation &Loc, in filePath() function
571 if (auto RefFilePath = filePath(R.Location, /*HintFilePath=*/MainFile)) { in findOccurrencesOutsideFile()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp1437 SmallString<128> filePath(Filename); in resolveFileRelativeToOriginalDir() local
1438 fs::make_absolute(filePath); in resolveFileRelativeToOriginalDir()
1442 path::const_iterator fileDirI = path::begin(path::parent_path(filePath)), in resolveFileRelativeToOriginalDir()
1443 fileDirE = path::end(path::parent_path(filePath)); in resolveFileRelativeToOriginalDir()