Home
last modified time | relevance | path

Searched refs:CurDir (Results 1 – 21 of 21) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DPPLexerChange.cpp67 bool Preprocessor::EnterSourceFile(FileID FID, const DirectoryLookup *CurDir, in EnterSourceFile() argument
92 EnterSourceFileWithLexer(new Lexer(FID, *InputFile, *this), CurDir); in EnterSourceFile()
99 const DirectoryLookup *CurDir) { in EnterSourceFileWithLexer() argument
107 CurDirLookup = CurDir; in EnterSourceFileWithLexer()
206 if (auto CurDir = FM.getDirectory(Path)) { in computeRelativePath() local
207 if (*CurDir == Dir) { in computeRelativePath()
H A DPPDirectives.cpp748 const DirectoryLookup *&CurDir, SmallVectorImpl<char> *SearchPath, in LookupFile() argument
799 CurDir = CurDirLookup; in LookupFile()
804 const DirectoryLookup *TmpCurDir = CurDir; in LookupFile()
817 CurDir = TmpCurDir; in LookupFile()
825 Filename, FilenameLoc, isAngled, FromDir, CurDir, Includers, SearchPath, in LookupFile()
1749 const DirectoryLookup *&CurDir, StringRef& Filename, in LookupHeaderIncludeOrImport() argument
1758 isAngled, LookupFrom, LookupFromFile, CurDir, in LookupHeaderIncludeOrImport()
1777 LookupFrom, LookupFromFile, CurDir, nullptr, nullptr, in LookupHeaderIncludeOrImport()
1795 false, LookupFrom, LookupFromFile, CurDir, in LookupHeaderIncludeOrImport()
1826 CurDir, Callbacks ? &SearchPath : nullptr, in LookupHeaderIncludeOrImport()
[all …]
H A DHeaderSearch.cpp756 const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir, in LookupFile() argument
773 CurDir = nullptr; in LookupFile()
880 CurDir = nullptr; in LookupFile()
943 CurDir = &SearchDirs[i]; in LookupFile()
947 HFI.DirInfo = CurDir->getDirCharacteristic(); in LookupFile()
967 if (CurDir->isIndexHeaderMap()) { in LookupFile()
1008 ScratchFilename, IncludeLoc, /*isAngled=*/true, FromDir, CurDir, in LookupFile()
H A DPreprocessor.cpp569 const DirectoryLookup *CurDir; in EnterMainSourceFile() local
572 /*isAngled=*/false, /*FromDir=*/nullptr, /*FromFile=*/nullptr, CurDir, in EnterMainSourceFile()
H A DPPMacroExpansion.cpp1228 const DirectoryLookup *CurDir; in EvaluateHasIncludeCommon() local
1231 CurDir, nullptr, nullptr, nullptr, nullptr, nullptr); in EvaluateHasIncludeCommon()
H A DPragma.cpp521 const DirectoryLookup *CurDir; in HandlePragmaDependency() local
524 nullptr, CurDir, nullptr, nullptr, nullptr, nullptr, nullptr); in HandlePragmaDependency()
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dedit.c404 ascnow, hostname, CurDir); in edit_fileproc()
527 if (strpbrk (CurDir, "+,>;=\t\n") != NULL) in edit()
530 CurDir); in edit()
552 send_to_server (CurDir, 0); in edit()
647 ascnow, hostname, CurDir); in unedit_fileproc()
H A Dmain.c65 char *CurDir; variable
975 CurDir = xstrdup ("<remote>"); in main()
982 CurDir = xgetcwd (); in main()
983 if (CurDir == NULL) in main()
H A Dhistory.c797 PrCurDir = CurDir; in history_write()
802 if (!strncmp (CurDir, pwdir, i)) in history_write()
826 if (!strncmp (CurDir, homedir, i)) in history_write()
H A Dcvs.h378 extern char *CurDir;
H A Dserver.c2910 if (CurDir) free (CurDir); in serve_localdir()
2911 CurDir = xstrdup (arg); in serve_localdir()
H A DChangeLog-93952771 know whether we are the server or not. Set CurDir to "<remote>"
H A DChangeLog10640 * edit.c (edit): Check for invalid characters in hostname and CurDir.
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Unix/
H A DPath.inc905 dirent *CurDir = ::readdir(reinterpret_cast<DIR *>(It.IterationHandle));
906 if (CurDir == nullptr && errno != 0) {
908 } else if (CurDir != nullptr) {
909 StringRef Name(CurDir->d_name);
913 It.CurrentEntry.replace_filename(Name, direntType(CurDir));
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DFrontendActions.cpp291 const DirectoryLookup *CurDir = nullptr; in BeginSourceFileAction() local
293 Name, SourceLocation(), /*Angled*/ false, nullptr, CurDir, None, in BeginSourceFileAction()
H A DVerifyDiagnosticConsumer.cpp546 const DirectoryLookup *CurDir; in ParseDirective() local
548 PP->LookupFile(Pos, Filename, false, nullptr, nullptr, CurDir, in ParseDirective()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DHeaderSearch.h403 const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir,
H A DPreprocessor.h2015 const DirectoryLookup *&CurDir, SmallVectorImpl<char> *SearchPath,
2264 const DirectoryLookup *&CurDir, StringRef &Filename,
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.cpp448 std::string CurDir = remapDIPath(getCurrentDirname()); in createFile() local
456 auto CurDirIt = llvm::sys::path::begin(CurDir); in createFile()
457 auto CurDirE = llvm::sys::path::end(CurDir); in createFile()
460 if (std::distance(llvm::sys::path::begin(CurDir), CurDirIt) == 1) { in createFile()
472 Dir = CurDir; in createFile()
H A DCGOpenMPRuntime.cpp7250 CurDir; member in __anonad2d34463d11::MappableExprsHandler
8670 : CurDir(&Dir), CGF(CGF) { in MappableExprsHandler()
8697 : CurDir(&Dir), CGF(CGF) {} in MappableExprsHandler()
8765 assert(CurDir.is<const OMPExecutableDirective *>() && in generateAllInfo()
8767 const auto *CurExecDir = CurDir.get<const OMPExecutableDirective *>(); in generateAllInfo()
8775 assert(CurDir.is<const OMPDeclareMapperDecl *>() && in generateAllInfoForMapper()
8777 const auto *CurMapperDir = CurDir.get<const OMPDeclareMapperDecl *>(); in generateAllInfoForMapper()
8912 assert(CurDir.is<const OMPExecutableDirective *>() && in generateInfoForCapture()
8914 const auto *CurExecDir = CurDir.get<const OMPExecutableDirective *>(); in generateInfoForCapture()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaOpenMP.cpp2561 OpenMPDirectiveKind CurDir = Stack->getCurrentDirective(); in checkReductionClauses() local
2562 if (!(isOpenMPParallelDirective(CurDir) || in checkReductionClauses()
2563 isOpenMPWorksharingDirective(CurDir)) || in checkReductionClauses()
2564 isOpenMPSimdDirective(CurDir)) in checkReductionClauses()