| /llvm-project-15.0.7/clang/tools/clang-format-vs/ClangFormat/ |
| H A D | ClangFormatPackage.cs | 260 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 D | Vsix.cs | 54 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 D | mlirContext.ts | 309 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 D | LTO.cpp | 162 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 D | FileRemapper.h | 48 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 D | FileRemapper.cpp | 55 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 D | ARCMT.cpp | 610 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 D | ObjCMT.cpp | 1972 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 D | Protocol.h | 110 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 D | Protocol.cpp | 216 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 D | clang-format-bbedit.applescript | 17 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 D | PrecompiledPreamble.cpp | 368 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 D | ittnotify_static.h | 760 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 D | ittnotify.h | 3908 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 D | comptypes-legal.m | 25 NSObject *ExternFunc (NSObject *filePath, NSObject *key);
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/ |
| H A D | Rename.cpp | 42 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 D | ASTReader.cpp | 1437 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()
|