clang  3.9.0
Public Member Functions | List of all members
clang::MacroDirective::DefInfo Class Reference

#include <MacroInfo.h>

Public Member Functions

 DefInfo ()
 
 DefInfo (DefMacroDirective *DefDirective, SourceLocation UndefLoc, bool isPublic)
 
const DefMacroDirectivegetDirective () const
 
DefMacroDirectivegetDirective ()
 
SourceLocation getLocation () const
 
MacroInfogetMacroInfo ()
 
const MacroInfogetMacroInfo () const
 
SourceLocation getUndefLocation () const
 
bool isUndefined () const
 
bool isPublic () const
 
bool isValid () const
 
bool isInvalid () const
 
 operator bool () const
 
DefInfo getPreviousDefinition ()
 
const DefInfo getPreviousDefinition () const
 

Detailed Description

Definition at line 352 of file MacroInfo.h.

Constructor & Destructor Documentation

clang::MacroDirective::DefInfo::DefInfo ( )
inline

Definition at line 358 of file MacroInfo.h.

clang::MacroDirective::DefInfo::DefInfo ( DefMacroDirective DefDirective,
SourceLocation  UndefLoc,
bool  isPublic 
)
inline

Definition at line 360 of file MacroInfo.h.

Member Function Documentation

const DefMacroDirective* clang::MacroDirective::DefInfo::getDirective ( ) const
inline

Definition at line 364 of file MacroInfo.h.

Referenced by clang::Preprocessor::getMacroDefinitionAtLoc().

DefMacroDirective* clang::MacroDirective::DefInfo::getDirective ( )
inline

Definition at line 365 of file MacroInfo.h.

SourceLocation clang::MacroDirective::DefInfo::getLocation ( ) const
inline
MacroInfo * clang::MacroDirective::DefInfo::getMacroInfo ( )
inline
const MacroInfo* clang::MacroDirective::DefInfo::getMacroInfo ( ) const
inline

Definition at line 369 of file MacroInfo.h.

References getMacroInfo().

MacroDirective::DefInfo clang::MacroDirective::DefInfo::getPreviousDefinition ( )
inline

Definition at line 484 of file MacroInfo.h.

References isInvalid().

Referenced by clang::MacroDirective::findDirectiveAtLoc(), and getPreviousDefinition().

const DefInfo clang::MacroDirective::DefInfo::getPreviousDefinition ( ) const
inline

Definition at line 384 of file MacroInfo.h.

References getPreviousDefinition().

SourceLocation clang::MacroDirective::DefInfo::getUndefLocation ( ) const
inline

Definition at line 373 of file MacroInfo.h.

bool clang::MacroDirective::DefInfo::isInvalid ( ) const
inline

Definition at line 379 of file MacroInfo.h.

References isValid().

Referenced by getLocation().

bool clang::MacroDirective::DefInfo::isPublic ( ) const
inline

Definition at line 376 of file MacroInfo.h.

bool clang::MacroDirective::DefInfo::isUndefined ( ) const
inline

Definition at line 374 of file MacroInfo.h.

References clang::SourceLocation::isValid().

bool clang::MacroDirective::DefInfo::isValid ( ) const
inline

Definition at line 378 of file MacroInfo.h.

Referenced by isInvalid(), and operator bool().

clang::MacroDirective::DefInfo::operator bool ( ) const
inlineexplicit

Definition at line 381 of file MacroInfo.h.

References isValid().


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