Lines Matching refs:Loc

44   /// \param Loc Indicates the new location.
46 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
130 /// \param Loc The location of the directive.
133 virtual void Ident(SourceLocation Loc, const std::string &str) {
137 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind,
142 /// \param Loc The location of the message directive.
144 virtual void PragmaMessage(SourceLocation Loc, StringRef Str) {
149 virtual void PragmaDiagnosticPush(SourceLocation Loc,
155 virtual void PragmaDiagnosticPop(SourceLocation Loc,
160 virtual void PragmaDiagnostic(SourceLocation Loc, StringRef Namespace,
191 /// \param Loc the source location of the directive.
195 virtual void If(SourceLocation Loc, SourceRange ConditionRange) {
199 /// \param Loc the source location of the directive.
203 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange,
208 /// \param Loc the source location of the directive.
210 virtual void Ifdef(SourceLocation Loc, const Token &MacroNameTok) {
214 /// \param Loc the source location of the directive.
216 virtual void Ifndef(SourceLocation Loc, const Token &MacroNameTok) {
220 /// \param Loc the source location of the directive.
222 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) {
226 /// \param Loc the source location of the directive.
228 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) {
245 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
248 First->FileChanged(Loc, Reason, FileType, PrevFID);
249 Second->FileChanged(Loc, Reason, FileType, PrevFID);
284 virtual void Ident(SourceLocation Loc, const std::string &str) {
285 First->Ident(Loc, str);
286 Second->Ident(Loc, str);
289 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind,
291 First->PragmaComment(Loc, Kind, Str);
292 Second->PragmaComment(Loc, Kind, Str);
295 virtual void PragmaMessage(SourceLocation Loc, StringRef Str) {
296 First->PragmaMessage(Loc, Str);
297 Second->PragmaMessage(Loc, Str);
300 virtual void PragmaDiagnosticPush(SourceLocation Loc,
302 First->PragmaDiagnosticPush(Loc, Namespace);
303 Second->PragmaDiagnosticPush(Loc, Namespace);
306 virtual void PragmaDiagnosticPop(SourceLocation Loc,
308 First->PragmaDiagnosticPop(Loc, Namespace);
309 Second->PragmaDiagnosticPop(Loc, Namespace);
312 virtual void PragmaDiagnostic(SourceLocation Loc, StringRef Namespace,
314 First->PragmaDiagnostic(Loc, Namespace, mapping, Str);
315 Second->PragmaDiagnostic(Loc, Namespace, mapping, Str);
345 virtual void If(SourceLocation Loc, SourceRange ConditionRange) {
346 First->If(Loc, ConditionRange);
347 Second->If(Loc, ConditionRange);
351 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange,
353 First->Elif(Loc, ConditionRange, IfLoc);
354 Second->Elif(Loc, ConditionRange, IfLoc);
358 virtual void Ifdef(SourceLocation Loc, const Token &MacroNameTok) {
359 First->Ifdef(Loc, MacroNameTok);
360 Second->Ifdef(Loc, MacroNameTok);
364 virtual void Ifndef(SourceLocation Loc, const Token &MacroNameTok) {
365 First->Ifndef(Loc, MacroNameTok);
366 Second->Ifndef(Loc, MacroNameTok);
370 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) {
371 First->Else(Loc, IfLoc);
372 Second->Else(Loc, IfLoc);
376 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) {
377 First->Endif(Loc, IfLoc);
378 Second->Endif(Loc, IfLoc);