Lines Matching refs:Loc

47   /// \param Loc Indicates the new location.
49 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
153 /// \param Loc The location of the directive.
156 virtual void Ident(SourceLocation Loc, const std::string &str) {
160 virtual void PragmaDirective(SourceLocation Loc,
165 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind,
171 virtual void PragmaDetectMismatch(SourceLocation Loc,
177 /// \param Loc The location of the debug directive.
179 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType) {
195 /// \param Loc The location of the message directive.
199 virtual void PragmaMessage(SourceLocation Loc, StringRef Namespace,
205 virtual void PragmaDiagnosticPush(SourceLocation Loc,
211 virtual void PragmaDiagnosticPop(SourceLocation Loc,
216 virtual void PragmaDiagnostic(SourceLocation Loc, StringRef Namespace,
227 virtual void PragmaWarning(SourceLocation Loc, StringRef WarningSpec,
232 virtual void PragmaWarningPush(SourceLocation Loc, int Level) {
236 virtual void PragmaWarningPop(SourceLocation Loc) {
274 /// \param Loc the source location of the directive.
279 virtual void If(SourceLocation Loc, SourceRange ConditionRange,
284 /// \param Loc the source location of the directive.
289 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange,
294 /// \param Loc the source location of the directive.
297 virtual void Ifdef(SourceLocation Loc, const Token &MacroNameTok,
302 /// \param Loc the source location of the directive.
305 virtual void Ifndef(SourceLocation Loc, const Token &MacroNameTok,
310 /// \param Loc the source location of the directive.
312 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) {
316 /// \param Loc the source location of the directive.
318 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) {
335 void FileChanged(SourceLocation Loc, FileChangeReason Reason,
338 First->FileChanged(Loc, Reason, FileType, PrevFID);
339 Second->FileChanged(Loc, Reason, FileType, PrevFID);
379 void Ident(SourceLocation Loc, const std::string &str) override {
380 First->Ident(Loc, str);
381 Second->Ident(Loc, str);
384 void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind,
386 First->PragmaComment(Loc, Kind, Str);
387 Second->PragmaComment(Loc, Kind, Str);
390 void PragmaDetectMismatch(SourceLocation Loc, const std::string &Name,
392 First->PragmaDetectMismatch(Loc, Name, Value);
393 Second->PragmaDetectMismatch(Loc, Name, Value);
396 void PragmaMessage(SourceLocation Loc, StringRef Namespace,
398 First->PragmaMessage(Loc, Namespace, Kind, Str);
399 Second->PragmaMessage(Loc, Namespace, Kind, Str);
402 void PragmaDiagnosticPush(SourceLocation Loc, StringRef Namespace) override {
403 First->PragmaDiagnosticPush(Loc, Namespace);
404 Second->PragmaDiagnosticPush(Loc, Namespace);
407 void PragmaDiagnosticPop(SourceLocation Loc, StringRef Namespace) override {
408 First->PragmaDiagnosticPop(Loc, Namespace);
409 Second->PragmaDiagnosticPop(Loc, Namespace);
412 void PragmaDiagnostic(SourceLocation Loc, StringRef Namespace,
414 First->PragmaDiagnostic(Loc, Namespace, mapping, Str);
415 Second->PragmaDiagnostic(Loc, Namespace, mapping, Str);
424 void PragmaWarning(SourceLocation Loc, StringRef WarningSpec,
426 First->PragmaWarning(Loc, WarningSpec, Ids);
427 Second->PragmaWarning(Loc, WarningSpec, Ids);
430 void PragmaWarningPush(SourceLocation Loc, int Level) override {
431 First->PragmaWarningPush(Loc, Level);
432 Second->PragmaWarningPush(Loc, Level);
435 void PragmaWarningPop(SourceLocation Loc) override {
436 First->PragmaWarningPop(Loc);
437 Second->PragmaWarningPop(Loc);
469 void If(SourceLocation Loc, SourceRange ConditionRange,
471 First->If(Loc, ConditionRange, ConditionValue);
472 Second->If(Loc, ConditionRange, ConditionValue);
476 void Elif(SourceLocation Loc, SourceRange ConditionRange,
478 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc);
479 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc);
483 void Ifdef(SourceLocation Loc, const Token &MacroNameTok,
485 First->Ifdef(Loc, MacroNameTok, MD);
486 Second->Ifdef(Loc, MacroNameTok, MD);
490 void Ifndef(SourceLocation Loc, const Token &MacroNameTok,
492 First->Ifndef(Loc, MacroNameTok, MD);
493 Second->Ifndef(Loc, MacroNameTok, MD);
497 void Else(SourceLocation Loc, SourceLocation IfLoc) override {
498 First->Else(Loc, IfLoc);
499 Second->Else(Loc, IfLoc);
503 void Endif(SourceLocation Loc, SourceLocation IfLoc) override {
504 First->Endif(Loc, IfLoc);
505 Second->Endif(Loc, IfLoc);