Searched refs:CondDirectiveLoc (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Lex/ |
D | PPConditionalDirectiveRecord.cpp | 31 Range.getBegin(), CondDirectiveLoc::Comp(SourceMgr)); in rangeIntersectsConditionalDirective() 40 Range.getEnd(), CondDirectiveLoc::Comp(SourceMgr)); in rangeIntersectsConditionalDirective() 61 Loc, CondDirectiveLoc::Comp(SourceMgr)); in findConditionalDirectiveRegionLoc() 67 CondDirectiveLoc DirLoc) { in addCondDirectiveLoc() 81 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in If() 88 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Ifdef() 95 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Ifndef() 103 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Elif() 109 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Else() 115 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Endif()
|
/external/clang/include/clang/Lex/ |
D | PPConditionalDirectiveRecord.h | 31 class CondDirectiveLoc { 36 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc) in CondDirectiveLoc() function 46 bool operator()(const CondDirectiveLoc &LHS, in operator() 47 const CondDirectiveLoc &RHS) { in operator() 50 bool operator()(const CondDirectiveLoc &LHS, SourceLocation RHS) { in operator() 53 bool operator()(SourceLocation LHS, const CondDirectiveLoc &RHS) { in operator() 59 typedef std::vector<CondDirectiveLoc> CondDirectiveLocsTy; 63 void addCondDirectiveLoc(CondDirectiveLoc DirLoc);
|