Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/lld/MachO/
H A DLTO.cpp250 SmallString<261> filePath("/tmp/lto.tmp"); in compile() local
252 filePath = config->ltoObjPath; in compile()
254 path::append(filePath, Twine(i) + "." + in compile()
258 return filePath; in compile()
296 auto filePath = outputFilePath(i); in compile() local
299 saveOrHardlinkBuffer(objBuf, filePath, cachePath); in compile()
300 modTime = getModTime(filePath); in compile()
303 MemoryBufferRef(objBuf, saver().save(filePath.str())), modTime, "")); in compile()
/openbsd-src/gnu/llvm/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);
/openbsd-src/gnu/llvm/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.cpp1970 SmallString<64> filePath(file->getName()); in HandleTranslationUnit() local
1971 FileMgr.FixupRelativePath(filePath); in HandleTranslationUnit()
1972 Remapper.remap(filePath.str(), std::move(memBuf)); in HandleTranslationUnit()
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/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()