class HeaderMap

Declaration

class HeaderMap : private HeaderMapImpl { /* full declaration omitted */ };

Description

This class represents an Apple concept known as a 'header map'. To the # include file resolution process, it basically acts like a directory of symlinks to files. Its advantages are that it is dense and more efficient to create and process than a directory of symlinks.

Declared at: clang/include/clang/Lex/HeaderMap.h:70

Inherits from: HeaderMapImpl

Method Overview

  • public static std::unique_ptr<HeaderMap> Create(const clang::FileEntry * FE, clang::FileManager & FM)
  • private HeaderMap(std::unique_ptr<const llvm::MemoryBuffer> File, bool BSwap)

Methods

static std::unique_ptr<HeaderMap> Create(
    const clang::FileEntry* FE,
    clang::FileManager& FM)

Description

This attempts to load the specified file as a header map. If it doesn't look like a HeaderMap, it gives up and returns null.

Declared at: clang/include/clang/Lex/HeaderMap.h:77

Parameters

const clang::FileEntry* FE
clang::FileManager& FM

HeaderMap(std::unique_ptr<
              const llvm::MemoryBuffer> File,
          bool BSwap)

Declared at: clang/include/clang/Lex/HeaderMap.h:71

Parameters

std::unique_ptr<const llvm::MemoryBuffer> File
bool BSwap