#include "clang/Lex/PPConditionalDirectiveRecord.h"
#include "llvm/Support/Capacity.h"
usingnamespaceclang;
PPConditionalDirectiveRecord::PPConditionalDirectiveRecord(SourceManager &SM)
: … { … }
bool PPConditionalDirectiveRecord::rangeIntersectsConditionalDirective(
SourceRange Range) const { … }
SourceLocation PPConditionalDirectiveRecord::findConditionalDirectiveRegionLoc(
SourceLocation Loc) const { … }
void PPConditionalDirectiveRecord::addCondDirectiveLoc(
CondDirectiveLoc DirLoc) { … }
void PPConditionalDirectiveRecord::If(SourceLocation Loc,
SourceRange ConditionRange,
ConditionValueKind ConditionValue) { … }
void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc,
const Token &MacroNameTok,
const MacroDefinition &MD) { … }
void PPConditionalDirectiveRecord::Ifndef(SourceLocation Loc,
const Token &MacroNameTok,
const MacroDefinition &MD) { … }
void PPConditionalDirectiveRecord::Elif(SourceLocation Loc,
SourceRange ConditionRange,
ConditionValueKind ConditionValue,
SourceLocation IfLoc) { … }
void PPConditionalDirectiveRecord::Elifdef(SourceLocation Loc, const Token &,
const MacroDefinition &) { … }
void PPConditionalDirectiveRecord::Elifdef(SourceLocation Loc, SourceRange,
SourceLocation) { … }
void PPConditionalDirectiveRecord::Elifndef(SourceLocation Loc, const Token &,
const MacroDefinition &) { … }
void PPConditionalDirectiveRecord::Elifndef(SourceLocation Loc, SourceRange,
SourceLocation) { … }
void PPConditionalDirectiveRecord::Else(SourceLocation Loc,
SourceLocation IfLoc) { … }
void PPConditionalDirectiveRecord::Endif(SourceLocation Loc,
SourceLocation IfLoc) { … }
size_t PPConditionalDirectiveRecord::getTotalMemory() const { … }