Home
last modified time | relevance | path

Searched refs:setLocation (Results 1 – 25 of 63) sorted by relevance

123

/llvm-project-15.0.7/clang/include/clang/AST/
H A DComment.h181 void setLocation(SourceLocation L) { in setLocation() function
383 setLocation(TagNameBegin); in HTMLTagComment()
557 setLocation(Content.front()->getBeginLoc()); in ParagraphComment()
603 setLocation(getCommandNameBeginLoc()); in BlockCommandComment()
615 setLocation(getCommandNameBeginLoc()); in BlockCommandComment()
1090 setLocation(Blocks.front()->getBeginLoc()); in FullComment()
H A DCommentLexer.h81 void setLocation(SourceLocation SL) { Loc = SL; } in setLocation() function
H A DExprObjC.h108 void setLocation(SourceLocation L) { Loc = L; } in setLocation() function
590 void setLocation(SourceLocation L) { Loc = L; } in setLocation() function
826 void setLocation(SourceLocation L) { IdLoc = L; } in setLocation() function
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DToken.h133 void setLocation(SourceLocation L) { Loc = L.getRawEncoding(); } in setLocation() function
163 setLocation(R.getBegin()); in setAnnotationRange()
H A DLexer.h623 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParsePragma.cpp122 Toks[0].setLocation(Tok.getLocation()); in HandlePragma()
1951 Toks[0].setLocation(VisLoc); in HandlePragma()
2069 Toks[0].setLocation(PackLoc); in HandlePragma()
2388 pragmaUnusedTok.setLocation(WeakLoc); in HandlePragma()
2445 pragmaRedefTok.setLocation(RedefLoc); in HandlePragma()
2527 Toks[0].setLocation(NameLoc); in HandlePragma()
2561 Tok.setLocation(Introducer.Loc); in HandlePragma()
2582 Tok.setLocation(EodLoc); in HandlePragma()
2774 AnnotTok.setLocation(VtorDispLoc); in HandlePragma()
3370 EOFTok.setLocation(Tok.getLocation()); in ParseLoopHintValue()
[all …]
H A DParseTemplate.cpp487 Tok.setLocation(Tok.getLocation().getLocWithOffset(1)); in ParseTemplateParameters()
1192 Greater.setLocation(RAngleLoc); in ParseGreaterThanInTemplateList()
1210 Tok.setLocation(AfterGreaterLoc); in ParseGreaterThanInTemplateList()
1368 Tok.setLocation(SS.getBeginLoc()); in AnnotateTemplateIdToken()
1370 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
1372 Tok.setLocation(TemplateNameLoc); in AnnotateTemplateIdToken()
1394 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
1396 Tok.setLocation(TemplateNameLoc); in AnnotateTemplateIdToken()
1445 Tok.setLocation(SS.getBeginLoc()); in AnnotateTemplateIdTokenAsType()
H A DParseCXXInlineMethods.cpp230 Eof.setLocation(Tok.getLocation()); in ParseCXXNonStaticMemberInitializer()
369 DefArgEnd.setLocation(LastDefaultArgToken.getEndLoc()); in ParseLexedMethodDeclaration()
449 ExceptionSpecEnd.setLocation(LastExceptionSpecToken.getEndLoc()); in ParseLexedMethodDeclaration()
542 BodyEnd.setLocation(LastBodyToken.getEndLoc()); in ParseLexedMethodDef()
711 AttrEnd.setLocation(Tok.getLocation()); in ParseLexedAttribute()
H A DParser.cpp1784 Tok.setLocation(BeginLoc); in TryAnnotateName()
1794 Tok.setLocation(SS.getBeginLoc()); in TryAnnotateName()
1806 Tok.setLocation(NameLoc); in TryAnnotateName()
1819 Tok.setLocation(NameLoc); in TryAnnotateName()
1996 Tok.setLocation(TypenameLoc); in TryAnnotateTypeOrScopeToken()
2054 Tok.setLocation(BeginLoc); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
/llvm-project-15.0.7/clang/lib/Lex/
H A DTokenLexer.cpp684 Tok.setLocation(instLoc); in Lex()
812 Result.setLocation(ResultTokLoc); in pasteTokens()
909 LHSTok.setLocation(SM.createExpansionLoc(LHSTok.getLocation(), StartLoc, EndLoc, in pasteTokens()
1044 Tok.setLocation(Expansion.getLocWithOffset(RelOffs)); in updateConsecutiveMacroArgTokens()
1065 Tok.setLocation(SM.createMacroArgExpansionLoc(Tok.getLocation(), in updateLocForMacroArgTokens()
H A DPPMacroExpansion.cpp608 Identifier.setLocation(Loc); in HandleMacroExpandedIdentifier()
729 TempToken.setLocation(ArgStartIterator->getLocation()); in GenerateNewArgTokens()
742 TempToken.setLocation(Loc); in GenerateNewArgTokens()
908 EOFTok.setLocation(Tok.getLocation()); in ReadMacroCallArgumentList()
969 EOFTok.setLocation(Tok.getLocation()); in ReadMacroCallArgumentList()
1022 Tok.setLocation(EndLoc); in ReadMacroCallArgumentList()
1563 Tok.setLocation(SourceMgr.createExpansionLoc(DATELoc, Tok.getLocation(), in ExpandBuiltinMacro()
1573 Tok.setLocation(SourceMgr.createExpansionLoc(TIMELoc, Tok.getLocation(), in ExpandBuiltinMacro()
H A DPreprocessor.cpp506 Tok.setLocation(Loc); in CreateString()
1217 ImportTok.setLocation(ModuleImportLoc); in LexAfterModuleImport()
1232 Suffix.back().setLocation(SemiLoc); in LexAfterModuleImport()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.h57 void setLocation(SDValue Val, SDValue Location) { in setLocation() function
H A DStatepointLowering.cpp316 Builder.StatepointLowering.setLocation(Incoming, Loc); in reservePreviousStackSlotForValue()
414 Builder.StatepointLowering.setLocation(Incoming, Loc); in spillIncomingStatepointValue()
913 StatepointLowering.setLocation(SD, Relocated); in LowerAsSTATEPOINT()
/llvm-project-15.0.7/clang/lib/Rewrite/
H A DTokenRewriter.cpp91 Tok.setLocation(ScratchBuf->getToken(Val, Len, Spelling)); in AddTokenBefore()
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DBoxedProcedure.cpp152 void setLocation(mlir::Location location) { loc = location; } in setLocation() function in __anonfdb31fde0111::BoxprocTypeRewriter
187 typeConverter.setLocation(op->getLoc()); in runOnOperation()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderStmt.cpp572 E->setLocation(readSourceLocation()); in VisitSYCLUniqueStableNameExpr()
584 E->setLocation(readSourceLocation()); in VisitPredefinedExpr()
615 E->setLocation(readSourceLocation()); in VisitDeclRefExpr()
621 E->setLocation(readSourceLocation()); in VisitIntegerLiteral()
627 E->setLocation(readSourceLocation()); in VisitFixedPointLiteral()
638 E->setLocation(readSourceLocation()); in VisitFloatingLiteral()
682 E->setLocation(readSourceLocation()); in VisitCharacterLiteral()
1469 E->setLocation(readSourceLocation()); in VisitObjCIvarRefExpr()
1487 E->setLocation(readSourceLocation()); in VisitObjCPropertyRefExpr()
1615 E->setLocation(readSourceLocation()); in VisitObjCBoolLiteralExpr()
[all …]
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DASTBitCodes.h253 setLocation(Loc); in DeclOffset()
257 void setLocation(SourceLocation L) { Loc = L.getRawEncoding(); } in setLocation() function
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfExpression.h157 void setLocation(const MachineLocation &Loc, const DIExpression *DIExpr);
H A DDwarfExpression.cpp397 void DwarfExpression::setLocation(const MachineLocation &Loc, in setLocation() function in DwarfExpression
/llvm-project-15.0.7/lld/COFF/
H A DDLL.cpp602 syms[i]->setLocation(addresses[base + i]); in create()
676 syms[i]->setLocation(addresses[base + i]); in create()
H A DSymbols.h366 void setLocation(Chunk *addressTable) { file->location = addressTable; } in setLocation() function
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DParsedAST.cpp196 SynthesizedIncludeTok.setLocation(IncludeTok->location()); in replay()
205 SynthesizedFilenameTok.setLocation(FileTok->location()); in replay()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCommandLine.h444 template <class Opt> void apply(Opt &O) const { O.setLocation(O, Loc); } in apply()
1308 bool setLocation(Option &O, DataType &L) {
1505 bool setLocation(Option &O, StorageClass &L) {
1708 bool setLocation(Option &O, unsigned &L) {
/llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusNameParser.cpp352 tmp_tok.setLocation(token.getLocation().getLocWithOffset(1)); in ConsumeOperator()

123