struct SymbolGraphSerializer::PathComponentGuard

Declaration

struct SymbolGraphSerializer::PathComponentGuard { /* full declaration omitted */ };

Description

A helper type to manage PathComponents correctly using RAII.

Declared at: clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h:57

Member Variables

private clang::extractapi::SymbolGraphSerializer:: PathComponentStack& PC

Method Overview

Methods

PathComponentGuard(
    clang::extractapi::SymbolGraphSerializer::
        PathComponentStack& PC,
    llvm::StringRef Component)

Declared at: clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h:58

Parameters

clang::extractapi::SymbolGraphSerializer:: PathComponentStack& PC
llvm::StringRef Component

~PathComponentGuard()

Declared at: clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h:62