Searched refs:FileName (Results 1 - 25 of 192) sorted by relevance

12345678

/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DSortJavaScriptImports.h30 StringRef FileName);
H A DFormatInternal.h75 unsigned NextStartColumn, unsigned LastStartColumn, StringRef FileName,
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerIOWindows.cpp125 std::string FileName = DirPlusFile(Dir, FindInfo.cFileName); local
134 ListFilesInDirRecursive(FileName, Epoch, V, false);
136 else if (IsFile(FileName, FindInfo.dwFileAttributes))
137 V->push_back(FileName);
236 static size_t ParseDrive(const std::string &FileName, const size_t Offset, argument
238 if (Offset + 1 >= FileName.size() || FileName[Offset + 1] != ':')
240 if (Offset + 2 >= FileName.size() || !IsSeparator(FileName[Offset + 2])) {
251 static size_t ParseFileName(const std::string &FileName, cons argument
261 ParseDir(const std::string &FileName, const size_t Offset) argument
276 ParseServerAndShare(const std::string &FileName, const size_t Offset) argument
302 ParseLocation(const std::string &FileName) argument
335 DirName(const std::string &FileName) argument
380 IsInterestingCoverageFile(const std::string &FileName) argument
[all...]
H A DFuzzerIOPosix.cpp131 std::string DirName(const std::string &FileName) { argument
132 char *Tmp = new char[FileName.size() + 1];
133 memcpy(Tmp, FileName.c_str(), FileName.size() + 1);
145 bool IsInterestingCoverageFile(const std::string &FileName) { argument
146 if (FileName.find("compiler-rt/lib/") != std::string::npos)
148 if (FileName.find("/usr/lib/") != std::string::npos)
150 if (FileName.find("/usr/include/") != std::string::npos)
152 if (FileName == "<null>")
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DCommandLineSourceLoc.h25 std::string FileName; member in struct:clang::ParsedSourceLocation
41 PSL.FileName = LineSplit.first;
45 if (PSL.FileName == "-")
46 PSL.FileName = "<stdin>";
55 std::string FileName; member in struct:clang::ParsedSourceRange
88 if (Begin.FileName.empty())
94 return ParsedSourceRange{std::move(Begin.FileName),
121 if (Val.FileName.empty()) {
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Inclusions/
H A DHeaderIncludes.h28 IncludeCategoryManager(const IncludeStyle &Style, StringRef FileName);
42 std::string FileName; member in class:clang::tooling::IncludeCategoryManager
43 // This refers to a substring in FileName.
52 HeaderIncludes(llvm::StringRef FileName, llvm::StringRef Code,
96 std::string FileName; member in class:clang::tooling::HeaderIncludes
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DProcess.cpp32 StringRef FileName) {
33 return FindInEnvPath(EnvName, FileName, {});
37 StringRef FileName,
39 assert(!path::is_absolute(FileName));
57 path::append(FilePath, FileName);
31 FindInEnvPath(StringRef EnvName, StringRef FileName) argument
36 FindInEnvPath(StringRef EnvName, StringRef FileName, ArrayRef<std::string> IgnoreList) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Inclusions/
H A DHeaderIncludes.cpp39 StringRef FileName, StringRef Code, const IncludeStyle &Style,
42 SourceManagerForFile VirtualSM(FileName, Code);
79 unsigned getOffsetAfterHeaderGuardsAndComments(StringRef FileName, argument
89 FileName, Code, Style,
155 unsigned getMaxHeaderInsertionOffset(StringRef FileName, StringRef Code, argument
158 FileName, Code, Style,
178 StringRef FileName)
179 : Style(Style), FileName(FileName) {
180 FileStem = llvm::sys::path::stem(FileName);
38 getOffsetAfterTokenSequence( StringRef FileName, StringRef Code, const IncludeStyle &Style, llvm::function_ref<unsigned(const SourceManager &, Lexer &, Token &)> GetOffsetAfterSequence) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
H A DFileMatchTrie.cpp84 /// matches 'FileName'.
86 /// If multiple paths fit 'FileName' equally well, \c IsAmbiguous is set to
87 /// \c true and an empty string is returned. If no path fits 'FileName', an
105 StringRef FileName,
109 if (Comparator.equivalent(StringRef(Path), FileName))
113 StringRef Element(llvm::sys::path::filename(FileName.drop_back(
119 Comparator, FileName, IsAmbiguous,
128 if (Comparator.equivalent(Child, FileName)) {
184 StringRef FileMatchTrie::findEquivalent(StringRef FileName, argument
186 if (llvm::sys::path::is_relative(FileName)) {
104 findEquivalent(const PathComparator& Comparator, StringRef FileName, bool &IsAmbiguous, unsigned ConsumedLength = 0) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DBuffer.cpp21 static Error createEmptyFile(StringRef FileName) { argument
25 sys::fs::TempFile::create(FileName + ".temp-empty-%%%%%%%");
26 return Temp ? Temp->keep(FileName) : Temp.takeError();
H A DBuffer.h49 explicit FileBuffer(StringRef FileName) : Buffer(FileName) {} argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DDependencyGraph.cpp49 StringRef FileName, bool IsAngled,
71 StringRef FileName,
118 StringRef FileName = AllFiles[I]->getName(); local
119 if (FileName.startswith(SysRoot))
120 FileName = FileName.substr(SysRoot.size());
122 OS << DOT::EscapeString(FileName)
68 InclusionDirective( SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, StringRef SearchPath, StringRef RelativePath, const Module *Imported, SrcMgr::CharacteristicKind FileType) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DCodeViewYAMLDebugSections.h75 StringRef FileName; member in struct:llvm::CodeViewYAML::SourceLineBlock
85 StringRef FileName; member in struct:llvm::CodeViewYAML::SourceFileChecksumEntry
100 StringRef FileName; member in struct:llvm::CodeViewYAML::InlineeSite
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-link/
H A Dllvm-link.cpp152 const std::string &FileName)>
158 const char *argv0, const std::string &FileName)>
163 Module &operator()(const char *argv0, const std::string &FileName);
165 std::unique_ptr<Module> takeModule(const std::string &FileName) { argument
166 auto I = ModuleMap.find(FileName);
174 // Get a Module for \p FileName from the cache, or load it lazily.
234 std::string FileName = Import.substr(Idx + 1, std::string::npos); local
237 auto &SrcModule = ModuleLoaderCache(argv0, FileName);
240 errs() << argv0 << ": " << FileName; local
248 << FunctionName << " from " << FileName << "\ local
256 << " from " << FileName << "\\n"; local
261 errs() << "Importing " << FunctionName << " from " << FileName << "\\n"; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugChecksumsSubsection.cpp67 void DebugChecksumsSubsection::addChecksum(StringRef FileName, argument
77 Entry.FileNameOffset = Strings.insert(FileName);
110 uint32_t DebugChecksumsSubsection::mapChecksumOffset(StringRef FileName) const {
111 uint32_t Offset = Strings.getIdForString(FileName);
H A DDebugInlineeLinesSubsection.cpp107 void DebugInlineeLinesSubsection::addExtraFile(StringRef FileName) { argument
108 uint32_t Offset = Checksums.mapChecksumOffset(FileName);
116 StringRef FileName,
118 uint32_t Offset = Checksums.mapChecksumOffset(FileName);
115 addInlineSite(TypeIndex FuncId, StringRef FileName, uint32_t SourceLine) argument
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/
H A DFileMatchTrie.h72 /// Returns file name stored in this trie that is equivalent to 'FileName'
77 StringRef findEquivalent(StringRef FileName,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DModuleManager.cpp103 ModuleManager::addModule(StringRef FileName, ModuleKind Type, argument
125 if (lookupModuleFile(FileName, ExpectedSize, ExpectedModTime, Entry)) {
130 if (!Entry && FileName != "-") {
149 NewModule->FileName = FileName.str();
164 if (std::unique_ptr<llvm::MemoryBuffer> Buffer = lookupBuffer(FileName)) {
166 NewModule->Buffer = &ModuleCache->addBuiltPCM(FileName, std::move(Buffer));
172 getModuleCache().lookupPCM(FileName)) {
176 } else if (getModuleCache().shouldBuildPCM(FileName)) {
184 if (FileName
271 addInMemoryBuffer(StringRef FileName, std::unique_ptr<llvm::MemoryBuffer> Buffer) argument
431 lookupModuleFile(StringRef FileName, off_t ExpectedSize, time_t ExpectedModTime, const FileEntry *&File) argument
[all...]
H A DModuleFile.cpp48 llvm::errs() << "\nModule: " << FileName << "\n";
54 llvm::errs() << Imports[I]->FileName;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h57 IndexError(index_error_code C, std::string FileName, int LineNo = 0) argument
58 : Code(C), FileName(std::move(FileName)), LineNo(LineNo) {}
59 IndexError(index_error_code C, std::string FileName, std::string TripleToName, argument
61 : Code(C), FileName(std::move(FileName)),
68 std::string getFileName() const { return FileName; }
74 std::string FileName; member in class:clang::cross_tu::IndexError
277 llvm::Expected<ASTUnit *> getASTUnitForFile(StringRef FileName,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/
H A DDIContext.h35 std::string FileName; member in struct:llvm::DILineInfo
45 DILineInfo() : FileName(BadString), FunctionName(BadString) {}
49 FileName == RHS.FileName && FunctionName == RHS.FunctionName &&
58 return std::tie(FileName, FunctionName, Line, Column, StartLine,
60 std::tie(RHS.FileName, RHS.FunctionName, RHS.Line, RHS.Column,
68 if (FileName != BadString)
69 OS << "file '" << FileName << "', "; local
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DLockFileManager.h53 SmallString<128> FileName; member in class:llvm::LockFileManager
71 LockFileManager(StringRef FileName);
H A DProcess.h104 StringRef FileName,
108 StringRef FileName);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
H A DSanitizerBlacklist.cpp41 StringRef FileName,
43 return SSCL->inSection(Mask, "src", FileName, Category);
40 isBlacklistedFile(SanitizerMask Mask, StringRef FileName, StringRef Category) const argument
/freebsd-11-stable/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp165 static FileID createInMemoryFile(StringRef FileName, MemoryBuffer *Source, argument
168 MemFS->addFileNoOwn(FileName, 0, Source);
169 auto File = Files.getFile(FileName);
340 static bool format(StringRef FileName) { argument
341 if (!OutputXML && Inplace && FileName == "-") {
348 !OutputXML && Inplace ? MemoryBuffer::getFileAsStream(FileName)
349 : MemoryBuffer::getFileOrSTDIN(FileName);
365 if (FileName != "-")
366 errs() << " in file '" << FileName << "'";
374 StringRef AssumedFileName = (FileName
449 StringRef FileName; local
[all...]

Completed in 291 milliseconds

12345678