Home
last modified time | relevance | path

Searched refs:CondDirectiveLoc (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp29 CondDirectiveLocs, Range.getBegin(), CondDirectiveLoc::Comp(SourceMgr)); in rangeIntersectsConditionalDirective()
38 Range.getEnd(), CondDirectiveLoc::Comp(SourceMgr)); in rangeIntersectsConditionalDirective()
58 CondDirectiveLocs, Loc, CondDirectiveLoc::Comp(SourceMgr)); in findConditionalDirectiveRegionLoc()
64 CondDirectiveLoc DirLoc) { in addCondDirectiveLoc()
78 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in If()
85 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Ifdef()
92 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Ifndef()
100 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Elif()
106 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Elifdef()
111 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Elifdef()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPPConditionalDirectiveRecord.h30 class CondDirectiveLoc {
35 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc) in CondDirectiveLoc() function
45 bool operator()(const CondDirectiveLoc &LHS, in operator()
46 const CondDirectiveLoc &RHS) { in operator()
49 bool operator()(const CondDirectiveLoc &LHS, SourceLocation RHS) { in operator()
52 bool operator()(SourceLocation LHS, const CondDirectiveLoc &RHS) { in operator()
58 typedef std::vector<CondDirectiveLoc> CondDirectiveLocsTy;
62 void addCondDirectiveLoc(CondDirectiveLoc DirLoc);