Lines Matching refs:Loc
49 SourceLocation Loc) const { in findConditionalDirectiveRegionLoc()
50 if (Loc.isInvalid()) in findConditionalDirectiveRegionLoc()
56 Loc)) in findConditionalDirectiveRegionLoc()
61 Loc, CondDirectiveLoc::Comp(SourceMgr)); in findConditionalDirectiveRegionLoc()
78 void PPConditionalDirectiveRecord::If(SourceLocation Loc, in If() argument
81 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in If()
82 CondDirectiveStack.push_back(Loc); in If()
85 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc, in Ifdef() argument
88 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Ifdef()
89 CondDirectiveStack.push_back(Loc); in Ifdef()
92 void PPConditionalDirectiveRecord::Ifndef(SourceLocation Loc, in Ifndef() argument
95 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Ifndef()
96 CondDirectiveStack.push_back(Loc); in Ifndef()
99 void PPConditionalDirectiveRecord::Elif(SourceLocation Loc, in Elif() argument
103 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Elif()
104 CondDirectiveStack.back() = Loc; in Elif()
107 void PPConditionalDirectiveRecord::Else(SourceLocation Loc, in Else() argument
109 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Else()
110 CondDirectiveStack.back() = Loc; in Else()
113 void PPConditionalDirectiveRecord::Endif(SourceLocation Loc, in Endif() argument
115 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Endif()