Home
last modified time | relevance | path

Searched refs:DirInfo (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang/lib/Basic/
DFileManager.cpp247 DirectoryEntryRef DirInfo = *DirInfoOrErr; in getFileRef() local
275 NamedFileEnt->second = FileEntryRef::MapValue(UFE, DirInfo); in getFileRef()
281 .insert({Status.getName(), FileEntryRef::MapValue(UFE, DirInfo)}) in getFileRef()
305 if (&DirInfo.getDirEntry() != UFE.Dir && Status.IsVFSMapped) in getFileRef()
306 UFE.Dir = &DirInfo.getDirEntry(); in getFileRef()
324 UFE.Dir = &DirInfo.getDirEntry(); in getFileRef()
369 auto DirInfo = expectedToOptional( in getVirtualFileRef() local
371 assert(DirInfo && in getVirtualFileRef()
385 NamedFileEnt.second = FileEntryRef::MapValue(*UFE, *DirInfo); in getVirtualFileRef()
406 NamedFileEnt.second = FileEntryRef::MapValue(*UFE, *DirInfo); in getVirtualFileRef()
[all …]
/external/clang/lib/Basic/
DFileManager.cpp239 const DirectoryEntry *DirInfo = getDirectoryFromFile(*this, Filename, in getFile() local
241 if (DirInfo == nullptr) { // Directory doesn't exist, file can't exist. in getFile()
291 if (DirInfo != UFE.Dir && Data.IsVFSMapped) in getFile()
292 UFE.Dir = DirInfo; in getFile()
308 UFE.Dir = DirInfo; in getFile()
345 const DirectoryEntry *DirInfo = getDirectoryFromFile(*this, Filename, in getVirtualFile() local
347 assert(DirInfo && in getVirtualFile()
384 UFE->Dir = DirInfo; in getVirtualFile()
/external/clang/lib/Lex/
DHeaderSearch.cpp624 Includer ? getFileInfo(Includer).DirInfo != SrcMgr::C_User : in LookupFile()
641 unsigned DirInfo = FromHFI.DirInfo; in LookupFile() local
646 ToHFI.DirInfo = DirInfo; in LookupFile()
731 HFI.DirInfo = CurDir->getDirCharacteristic(); in LookupFile()
736 if (HFI.DirInfo == SrcMgr::C_User && InUserSpecifiedSystemFramework) in LookupFile()
737 HFI.DirInfo = SrcMgr::C_System; in LookupFile()
743 HFI.DirInfo = SystemHeaderPrefixes[j-1].second ? SrcMgr::C_System in LookupFile()
912 unsigned DirInfo = getFileInfo(ContextFileEnt).DirInfo; in LookupSubframeworkHeader() local
913 getFileInfo(FE).DirInfo = DirInfo; in LookupSubframeworkHeader()
943 HFI.DirInfo = OtherHFI.DirInfo; in mergeHeaderFileInfo()
/external/llvm-project/clang/lib/Lex/
DHeaderSearch.cpp820 Includer ? getFileInfo(Includer).DirInfo != SrcMgr::C_User : in LookupFile()
837 unsigned DirInfo = FromHFI.DirInfo; in LookupFile() local
842 ToHFI.DirInfo = DirInfo; in LookupFile()
947 HFI.DirInfo = CurDir->getDirCharacteristic(); in LookupFile()
952 if (HFI.DirInfo == SrcMgr::C_User && InUserSpecifiedSystemFramework) in LookupFile()
953 HFI.DirInfo = SrcMgr::C_System; in LookupFile()
959 HFI.DirInfo = SystemHeaderPrefixes[j-1].second ? SrcMgr::C_System in LookupFile()
1140 unsigned DirInfo = getFileInfo(ContextFileEnt).DirInfo; in LookupSubframeworkHeader() local
1141 getFileInfo(&File->getFileEntry()).DirInfo = DirInfo; in LookupSubframeworkHeader()
1172 HFI.DirInfo = OtherHFI.DirInfo; in mergeHeaderFileInfo()
/external/clang/include/clang/Lex/
DHeaderSearch.h50 unsigned DirInfo : 2; member
103 : isImport(false), isPragmaOnce(false), DirInfo(SrcMgr::C_User), in HeaderFileInfo()
414 return (SrcMgr::CharacteristicKind)getFileInfo(File).DirInfo; in getFileDirFlavor()
428 getFileInfo(File).DirInfo = SrcMgr::C_System; in MarkFileSystemHeader()
/external/llvm-project/clang/include/clang/Lex/
DHeaderSearch.h61 unsigned DirInfo : 3; member
114 : isImport(false), isPragmaOnce(false), DirInfo(SrcMgr::C_User), in HeaderFileInfo()
439 return (SrcMgr::CharacteristicKind)getFileInfo(File).DirInfo; in getFileDirFlavor()
453 getFileInfo(File).DirInfo = SrcMgr::C_System; in MarkFileSystemHeader()
/external/clang/lib/Serialization/
DASTWriter.cpp1768 | (Data.DirInfo << 1) in EmitData()
DASTReader.cpp1595 HFI.DirInfo = (Flags >> 1) & 0x03; in ReadData()
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp1695 | (Data.HFI.DirInfo << 1) in EmitData()
DASTReader.cpp1881 HFI.DirInfo = (Flags >> 1) & 0x07; in ReadData()