clang  6.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 2567 of file ASTReader.h.

Constructor & Destructor Documentation

◆ SavedStreamPosition()

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

Definition at line 2568 of file ASTReader.h.

◆ ~SavedStreamPosition()

clang::SavedStreamPosition::~SavedStreamPosition ( )
inline

Definition at line 2571 of file ASTReader.h.

References clang::serialized_diags::Error.


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