struct HeaderSearch::LookupFileCacheInfo

Declaration

struct HeaderSearch::LookupFileCacheInfo { /* full declaration omitted */ };

Description

Keeps track of each lookup performed by LookupFile.

Declared at: clang/include/clang/Lex/HeaderSearch.h:271

Member Variables

public clang::ConstSearchDirIterator StartIt = nullptr
Starting search directory iterator that the cached search was performed from. If there is a hit and this value doesn't match the current query, the cache has to be ignored.
public clang::ConstSearchDirIterator HitIt = nullptr
The search directory iterator that satisfied the query.
public const char* MappedName = nullptr
This is non-null if the original filename was mapped to a framework include via a headermap.

Method Overview

Methods

LookupFileCacheInfo()

Description

Default constructor -- Initialize all members with zero.

Declared at: clang/include/clang/Lex/HeaderSearch.h:285

void reset(
    clang::ConstSearchDirIterator NewStartIt)

Declared at: clang/include/clang/Lex/HeaderSearch.h:287

Parameters

clang::ConstSearchDirIterator NewStartIt