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

123

/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Frontend/
H A DCommandLineSourceLoc.h26 std::string FileName; member in struct:clang::ParsedSourceLocation
42 PSL.FileName = LineSplit.first;
46 if (PSL.FileName == "-")
47 PSL.FileName = "<stdin>";
76 if (Val.FileName.empty()) {
/freebsd-10.2-release/contrib/llvm/lib/ExecutionEngine/
H A DEventListenerCommon.h49 StringRef FileName = DIScope.getFilename(); local
54 if (FileName != "") {
55 sys::path::append(FullPath, FileName);
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Frontend/
H A DDependencyGraph.cpp51 StringRef FileName,
73 StringRef FileName,
119 StringRef FileName = AllFiles[I]->getName(); local
120 if (FileName.startswith(SysRoot))
121 FileName = FileName.substr(SysRoot.size());
123 OS << DOT::EscapeString(FileName)
71 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, StringRef SearchPath, StringRef RelativePath, const Module *Imported) argument
H A DDependencyFile.cpp61 StringRef FileName,
135 StringRef FileName,
144 AddFilename(FileName);
133 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, StringRef SearchPath, StringRef RelativePath, const Module *Imported) argument
/freebsd-10.2-release/contrib/llvm/include/llvm/DebugInfo/
H A DDIContext.h33 SmallString<16> FileName; member in class:llvm::DILineInfo
39 : FileName("<invalid>"), FunctionName("<invalid>"),
43 : FileName(fileName), FunctionName(functionName), Line(line),
46 const char *getFileName() { return FileName.c_str(); }
53 FileName.equals(RHS.FileName) &&
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Tooling/
H A DFileMatchTrie.cpp77 /// matches 'FileName'.
79 /// If multiple paths fit 'FileName' equally well, \c IsAmbiguous is set to
80 /// \c true and an empty string is returned. If no path fits 'FileName', an
98 StringRef FileName,
102 if (Comparator.equivalent(StringRef(Path), FileName))
106 StringRef Element(llvm::sys::path::filename(FileName.drop_back(
112 Comparator, FileName, IsAmbiguous,
121 if (Comparator.equivalent(AllChildren[i], FileName)) {
174 StringRef FileMatchTrie::findEquivalent(StringRef FileName, argument
176 if (llvm::sys::path::is_relative(FileName)) {
97 findEquivalent(const PathComparator& Comparator, StringRef FileName, bool &IsAmbiguous, unsigned ConsumedLength = 0) const argument
[all...]
H A DTooling.cpp106 const Twine &FileName) {
108 ToolAction, Code, std::vector<std::string>(), FileName);
113 StringRef FileName) {
118 Args.push_back(FileName.str());
124 const Twine &FileName) {
126 StringRef FileNameRef = FileName.toNullTerminatedStringRef(FileNameStorage);
402 ASTUnit *buildASTFromCode(const Twine &Code, const Twine &FileName) { argument
403 return buildASTFromCodeWithArgs(Code, std::vector<std::string>(), FileName);
408 const Twine &FileName) {
410 StringRef FileNameRef = FileName
105 runToolOnCode(clang::FrontendAction *ToolAction, const Twine &Code, const Twine &FileName) argument
112 getSyntaxOnlyToolArgs(const std::vector<std::string> &ExtraArgs, StringRef FileName) argument
122 runToolOnCodeWithArgs(clang::FrontendAction *ToolAction, const Twine &Code, const std::vector<std::string> &Args, const Twine &FileName) argument
406 buildASTFromCodeWithArgs(const Twine &Code, const std::vector<std::string> &Args, const Twine &FileName) argument
[all...]
H A DJSONCompilationDatabase.cpp304 StringRef FileName = File->getValue(FileStorage); local
306 if (llvm::sys::path::is_relative(FileName)) {
310 llvm::sys::path::append(AbsolutePath, FileName);
313 llvm::sys::path::native(FileName, NativeFilePath);
/freebsd-10.2-release/contrib/llvm/include/llvm/Support/
H A DLockFileManager.h44 SmallString<128> FileName; member in class:llvm::LockFileManager
61 LockFileManager(StringRef FileName);
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Tooling/
H A DFileMatchTrie.h73 /// Returns file name stored in this trie that is equivalent to 'FileName'
78 StringRef findEquivalent(StringRef FileName,
H A DTooling.h138 /// \param FileName The file name which 'Code' will be mapped as.
142 const Twine &FileName = "input.cc");
150 /// \param FileName The file name which 'Code' will be mapped as.
155 const Twine &FileName = "input.cc");
160 /// \param FileName The file name which 'Code' will be mapped as.
164 const Twine &FileName = "input.cc");
170 /// \param FileName The file name which 'Code' will be mapped as.
175 const Twine &FileName = "input.cc");
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Serialization/
H A DModuleManager.cpp54 ModuleManager::addModule(StringRef FileName, ModuleKind Type, argument
65 if (lookupModuleFile(FileName, ExpectedSize, ExpectedModTime, Entry)) {
70 if (!Entry && FileName != "-") {
82 New->FileName = FileName.str();
90 if (llvm::MemoryBuffer *Buffer = lookupBuffer(FileName)) {
97 if (FileName == "-") {
102 New->Buffer.reset(FileMgr.getBufferForFile(FileName, &ErrorStr));
163 StringRef ModuleName = llvm::sys::path::stem((*victim)->FileName);
175 void ModuleManager::addInMemoryBuffer(StringRef FileName, argument
384 lookupModuleFile(StringRef FileName, off_t ExpectedSize, time_t ExpectedModTime, const FileEntry *&File) argument
[all...]
H A DModule.cpp76 llvm::errs() << "\nModule: " << FileName << "\n";
82 llvm::errs() << Imports[I]->FileName;
/freebsd-10.2-release/contrib/llvm/lib/Support/
H A DLockFileManager.cpp71 LockFileManager::LockFileManager(StringRef FileName) argument
73 this->FileName = FileName;
74 LockFileName = FileName;
211 if (!sys::fs::exists(FileName.str(), Exists) && Exists) {
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Serialization/
H A DModuleManager.h163 /// \param FileName The file name of the module to be loaded.
188 AddModuleResult addModule(StringRef FileName, ModuleKind Type,
200 void addInMemoryBuffer(StringRef FileName, llvm::MemoryBuffer *Buffer);
257 /// \param FileName The name of the module file.
272 bool lookupModuleFile(StringRef FileName,
H A DGlobalModuleIndex.h79 std::string FileName; member in struct:clang::GlobalModuleIndex::ModuleInfo
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessingRecord.cpp27 StringRef FileName,
35 = (char*)PPRec.Allocate(FileName.size() + 1, llvm::alignOf<char>());
36 memcpy(Memory, FileName.data(), FileName.size());
37 Memory[FileName.size()] = 0;
38 this->FileName = StringRef(Memory, FileName.size());
435 StringRef FileName,
475 = new (*this) clang::InclusionDirective(*this, Kind, FileName, !IsAngled,
25 InclusionDirective(PreprocessingRecord &PPRec, InclusionKind Kind, StringRef FileName, bool InQuotes, bool ImportedModule, const FileEntry *File, SourceRange Range) argument
432 InclusionDirective( SourceLocation HashLoc, const clang::Token &IncludeTok, StringRef FileName, bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, StringRef SearchPath, StringRef RelativePath, const Module *Imported) argument
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DPPCallbacks.h69 /// \param FileName The name of the file being included, as written in the
78 virtual bool FileNotFound(StringRef FileName, argument
93 /// \param FileName The name of the file being included, as written in the
115 /// file was found. This is equal to FileName except for framework includes.
122 StringRef FileName,
346 virtual bool FileNotFound(StringRef FileName, argument
348 return First->FileNotFound(FileName, RecoveryPath) ||
349 Second->FileNotFound(FileName, RecoveryPath);
354 StringRef FileName,
361 First->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngle
120 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, StringRef SearchPath, StringRef RelativePath, const Module *Imported) argument
352 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, StringRef SearchPath, StringRef RelativePath, const Module *Imported) argument
[all...]
H A DPreprocessingRecord.h214 StringRef FileName; member in class:clang::InclusionDirective
234 InclusionKind Kind, StringRef FileName,
242 StringRef getFileName() const { return FileName; }
567 StringRef FileName,
/freebsd-10.2-release/contrib/llvm/lib/MC/
H A DMCContext.cpp337 unsigned MCContext::GetDwarfFile(StringRef Directory, StringRef FileName, argument
359 // Separate the directory part from the basename of the FileName.
360 StringRef tFileName = sys::path::filename(FileName);
362 Directory = sys::path::parent_path(FileName);
364 FileName = tFileName;
394 char *Buf = static_cast<char *>(Allocate(FileName.size()));
395 memcpy(Buf, FileName.data(), FileName.size());
396 File = new (*this) MCDwarfFile(StringRef(Buf, FileName.size()), DirIndex);
H A DMCNullStreamer.cpp100 StringRef FileName) {}
97 EmitDwarfLocDirective(unsigned FileNo, unsigned Line, unsigned Column, unsigned Flags, unsigned Isa, unsigned Discriminator, StringRef FileName) argument
/freebsd-10.2-release/contrib/llvm/lib/DebugInfo/
H A DDWARFContext.cpp375 std::string &FileName) {
379 FileName))
381 if (NeedsAbsoluteFilePath && sys::path::is_relative(FileName)) {
387 sys::path::append(AbsolutePath, FileName);
388 FileName = AbsolutePath.str();
397 std::string &FileName,
408 NeedsAbsoluteFilePath, FileName))
420 std::string FileName = "<invalid>";
442 FileName, Line, Column);
444 return DILineInfo(StringRef(FileName), StringRe
371 getFileNameForCompileUnit(DWARFCompileUnit *CU, const DWARFLineTable *LineTable, uint64_t FileIndex, bool NeedsAbsoluteFilePath, std::string &FileName) argument
393 getFileLineInfoForCompileUnit(DWARFCompileUnit *CU, const DWARFLineTable *LineTable, uint64_t Address, bool NeedsAbsoluteFilePath, std::string &FileName, uint32_t &Line, uint32_t &Column) argument
492 std::string FileName = "<invalid>"; local
518 std::string FileName = "<invalid>"; local
[all...]
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DInclusionRewriter.cpp66 StringRef FileName,
176 StringRef /*FileName*/,
354 const char *FileName = FromFile.getBufferIdentifier(); local
361 WriteLineInfo(FileName, 1, FileType, EOL, " 1");
411 WriteLineInfo(FileName, Line, FileType, EOL, LineInfoExtra);
423 WriteLineInfo(FileName, Line, FileType, EOL);
429 WriteLineInfo(FileName, Line, FileType, EOL);
482 WriteLineInfo(FileName, Line, FileType, EOL);
501 WriteLineInfo(FileName, Line, FileType, EOL);
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Format/
H A DFormat.h356 StringRef FileName = "<stdin>");
377 /// located in one of the parent directories of \c FileName or the current
378 /// directory if \c FileName is empty.
382 /// \param[in] FileName Path to start search for .clang-format if \c StyleName
387 FormatStyle getStyle(StringRef StyleName, StringRef FileName);
/freebsd-10.2-release/sys/boot/i386/libi386/
H A Dpxe.h366 uint8_t FileName[128]; member in struct:__anon6564
387 uint8_t FileName[128]; member in struct:__anon6567
404 uint8_t FileName[128]; member in struct:__anon6568

Completed in 221 milliseconds

123