clang  10.0.0svn
Public Member Functions | List of all members
clang::SavedStreamPosition Struct Reference

Helper class that saves the current stream position and then restores it when destroyed. More...

#include "clang/Serialization/ASTReader.h"

Public Member Functions

 SavedStreamPosition (llvm::BitstreamCursor &Cursor)
 
 ~SavedStreamPosition ()
 

Detailed Description

Helper class that saves the current stream position and then restores it when destroyed.

Definition at line 2687 of file ASTReader.h.

Constructor & Destructor Documentation

◆ SavedStreamPosition()

clang::SavedStreamPosition::SavedStreamPosition ( llvm::BitstreamCursor &  Cursor)
inlineexplicit

Definition at line 2688 of file ASTReader.h.

◆ ~SavedStreamPosition()

clang::SavedStreamPosition::~SavedStreamPosition ( )
inline

Definition at line 2691 of file ASTReader.h.

References clang::Error, Offset, and toString().


The documentation for this struct was generated from the following file: