struct FileEntryRef::MapValue

Declaration

struct FileEntryRef::MapValue { /* full declaration omitted */ };

Description

Type stored in the StringMap.

Declared at: clang/include/clang/Basic/FileEntry.h:108

Member Variables

public llvm::PointerUnion<FileEntry*, const void*> V
The second type is really a `const MapEntry *`, but that confuses gcc5.3. Once that's no longer supported, change this back.
public Optional<clang::DirectoryEntryRef> Dir
Directory the file was found in. Set if and only if V is a FileEntry.

Method Overview

  • public MapValue()
  • public MapValue(clang::FileEntry & FE, clang::DirectoryEntryRef Dir)
  • public MapValue(clang::FileEntryRef::MapEntry & ME)

Methods

MapValue()

Declared at: clang/include/clang/Basic/FileEntry.h:122

MapValue(clang::FileEntry& FE,
         clang::DirectoryEntryRef Dir)

Declared at: clang/include/clang/Basic/FileEntry.h:123

Parameters

clang::FileEntry& FE
clang::DirectoryEntryRef Dir

MapValue(clang::FileEntryRef::MapEntry& ME)

Declared at: clang/include/clang/Basic/FileEntry.h:124

Parameters

clang::FileEntryRef::MapEntry& ME