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

#include "clang/Lex/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 331 of file MacroInfo.h.

Constructor & Destructor Documentation

◆ DefInfo() [1/2]

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

Definition at line 337 of file MacroInfo.h.

◆ DefInfo() [2/2]

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

Definition at line 339 of file MacroInfo.h.

Member Function Documentation

◆ getDirective() [1/2]

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

Definition at line 343 of file MacroInfo.h.

◆ getDirective() [2/2]

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

Definition at line 344 of file MacroInfo.h.

◆ getLocation()

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

Definition at line 450 of file MacroInfo.h.

References isInvalid().

◆ getMacroInfo() [1/2]

MacroInfo * clang::MacroDirective::DefInfo::getMacroInfo ( )
inline

Definition at line 456 of file MacroInfo.h.

References isInvalid().

◆ getMacroInfo() [2/2]

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

Definition at line 348 of file MacroInfo.h.

◆ getPreviousDefinition() [1/2]

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

Definition at line 463 of file MacroInfo.h.

References isInvalid().

◆ getPreviousDefinition() [2/2]

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

Definition at line 363 of file MacroInfo.h.

References getDefinition().

◆ getUndefLocation()

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

Definition at line 352 of file MacroInfo.h.

◆ isInvalid()

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

Definition at line 358 of file MacroInfo.h.

◆ isPublic()

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

Definition at line 355 of file MacroInfo.h.

◆ isUndefined()

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

◆ isValid()

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

Definition at line 357 of file MacroInfo.h.

◆ operator bool()

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

Definition at line 360 of file MacroInfo.h.


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