• Home
  • Raw
  • Download

Lines Matching refs:getLocation

86   Res.setBegin(Tmp.getLocation());  in DiscardUntilEndOfDirective()
91 Res.setEnd(Tmp.getLocation()); in DiscardUntilEndOfDirective()
277 SourceLocation MacroNameLoc = MacroNameTok.getLocation(); in CheckMacroName()
358 return Tmp.getLocation(); in CheckEndOfDirective()
367 Hint = FixItHint::CreateInsertion(Tmp.getLocation(),"//"); in CheckEndOfDirective()
527 CurPPLexer->pushConditionalLevel(Tok.getLocation(), /*wasskipping*/true, in SkipExcludedConditionalBlock()
548 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
575 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
601 Tok.getLocation(), DER.ExprRange, in SkipExcludedConditionalBlock()
631 Tok.getLocation()); in SkipExcludedConditionalBlock()
962 return HandleSkippedDirectiveWhileUsingPCH(Result, SavedHash.getLocation()); in HandleDirective()
1003 return HandleIncludeDirective(SavedHash.getLocation(), Result); in HandleDirective()
1006 return HandleIncludeMacrosDirective(SavedHash.getLocation(), Result); in HandleDirective()
1024 return HandlePragmaDirective({PIK_HashPragma, SavedHash.getLocation()}); in HandleDirective()
1028 return HandleImportDirective(SavedHash.getLocation(), Result); in HandleDirective()
1030 return HandleIncludeNextDirective(SavedHash.getLocation(), Result); in HandleDirective()
1122 PP.Diag(PP.AdvanceToTokenCharacter(DigitTok.getLocation(), i), in GetLineValue()
1138 PP.Diag(DigitTok.getLocation(), diag::warn_pp_line_decimal) in GetLineValue()
1217 SourceMgr.getFileCharacteristic(DigitTok.getLocation()); in HandleLineDirective()
1219 SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID, false, in HandleLineDirective()
1253 SM.getDecomposedExpansionLoc(FlagTok.getLocation()).first; in ReadLineMarkerFlags()
1254 PresumedLoc PLoc = SM.getPresumedLoc(FlagTok.getLocation()); in ReadLineMarkerFlags()
1332 FileKind = SourceMgr.getFileCharacteristic(DigitTok.getLocation()); in HandleDigitDirective()
1362 SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID, IsFileEntry, in HandleDigitDirective()
1433 Callbacks->Ident(Tok.getLocation(), Str); in HandleIdentSCCSDirective()
1461 MacroNameTok.getLocation(), /*isPublic=*/true)); in HandleMacroPublicDirective()
1488 MacroNameTok.getLocation(), /*isPublic=*/false)); in HandleMacroPrivateDirective()
1687 Diag(FilenameTok.getLocation(), diag::err_pp_expects_filename); in HandleIncludeDirective()
1862 = CharSourceRange::getCharRange(FilenameTok.getLocation(), CharEnd); in HandleHeaderIncludeOrImport()
1865 GetIncludeFilenameSpelling(FilenameTok.getLocation(), Filename); in HandleHeaderIncludeOrImport()
1873 SourceLocation StartLoc = IsImportDecl ? IncludeTok.getLocation() : HashLoc; in HandleHeaderIncludeOrImport()
1911 SourceLocation FilenameLoc = FilenameTok.getLocation(); in HandleHeaderIncludeOrImport()
1969 Diag(FilenameTok.getLocation(), in HandleHeaderIncludeOrImport()
1981 FilenameTok.getLocation())); in HandleHeaderIncludeOrImport()
1993 IncludeTok.getLocation(), Path, Module::Hidden, in HandleHeaderIncludeOrImport()
2027 SourceMgr.getFileCharacteristic(FilenameTok.getLocation()); in HandleHeaderIncludeOrImport()
2064 Diag(FilenameTok.getLocation(), in HandleHeaderIncludeOrImport()
2226 SourceLocation IncludePos = FilenameTok.getLocation(); in HandleHeaderIncludeOrImport()
2238 if (EnterSourceFile(FID, CurDir, FilenameTok.getLocation())) in HandleHeaderIncludeOrImport()
2356 SourceLocation Loc = IncludeMacrosTok.getLocation(); in HandleIncludeMacrosDirective()
2358 Diag(IncludeMacrosTok.getLocation(), in HandleIncludeMacrosDirective()
2527 MacroInfo *const MI = AllocateMacroInfo(MacroNameTok.getLocation()); in ReadOptionalMacroParameterListAndBody()
2550 MacroNameTok.getLocation()); in ReadOptionalMacroParameterListAndBody()
2638 VAOCtx.sawVAOptFollowedByOpeningParens(Tok.getLocation()); in ReadOptionalMacroParameterListAndBody()
2657 VAOCtx.sawOpeningParen(Tok.getLocation()); in ReadOptionalMacroParameterListAndBody()
2746 MI->setDefinitionEndLoc(LastTok.getLocation()); in ReadOptionalMacroParameterListAndBody()
2820 !SourceMgr.isInSystemHeader(DefineTok.getLocation())) && in HandleDefineDirective()
2833 !SourceMgr.isInSystemHeader(DefineTok.getLocation())) { in HandleDefineDirective()
2902 Undef = AllocateUndefMacroDirective(MacroNameTok.getLocation()); in HandleUndefDirective()
2937 SkipExcludedConditionalBlock(HashToken.getLocation(), in HandleIfdefDirective()
2938 DirectiveTok.getLocation(), in HandleIfdefDirective()
2957 CurPPLexer->MIOpt.EnterTopLevelIfndef(MII, MacroNameTok.getLocation()); in HandleIfdefDirective()
2968 Callbacks->Ifndef(DirectiveTok.getLocation(), MacroNameTok, MD); in HandleIfdefDirective()
2970 Callbacks->Ifdef(DirectiveTok.getLocation(), MacroNameTok, MD); in HandleIfdefDirective()
2974 getSourceManager().isInMainFile(DirectiveTok.getLocation()); in HandleIfdefDirective()
2980 CurPPLexer->pushConditionalLevel(DirectiveTok.getLocation(), in HandleIfdefDirective()
2985 CurPPLexer->pushConditionalLevel(DirectiveTok.getLocation(), in HandleIfdefDirective()
2990 SkipExcludedConditionalBlock(HashToken.getLocation(), in HandleIfdefDirective()
2991 DirectiveTok.getLocation(), in HandleIfdefDirective()
3014 CurPPLexer->MIOpt.EnterTopLevelIfndef(IfNDefMacro, IfToken.getLocation()); in HandleIfDirective()
3021 IfToken.getLocation(), DER.ExprRange, in HandleIfDirective()
3025 getSourceManager().isInMainFile(IfToken.getLocation()); in HandleIfDirective()
3031 CurPPLexer->pushConditionalLevel(IfToken.getLocation(), /*wasskip*/false, in HandleIfDirective()
3035 CurPPLexer->pushConditionalLevel(IfToken.getLocation(), /*wasskip*/false, in HandleIfDirective()
3039 SkipExcludedConditionalBlock(HashToken.getLocation(), IfToken.getLocation(), in HandleIfDirective()
3068 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective()
3093 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective()
3096 getSourceManager().isInMainFile(Result.getLocation()); in HandleElseDirective()
3107 SkipExcludedConditionalBlock(HashToken.getLocation(), CI.IfLoc, in HandleElseDirective()
3109 /*FoundElse*/ true, Result.getLocation()); in HandleElseDirective()
3137 Callbacks->Elif(ElifToken.getLocation(), ConditionRange, in HandleElifDirective()
3141 getSourceManager().isInMainFile(ElifToken.getLocation()); in HandleElifDirective()
3146 CurPPLexer->pushConditionalLevel(ElifToken.getLocation(), /*wasskip*/false, in HandleElifDirective()
3153 HashToken.getLocation(), CI.IfLoc, /*Foundnonskip*/ true, in HandleElifDirective()
3154 /*FoundElse*/ CI.FoundElse, ElifToken.getLocation()); in HandleElifDirective()