Home
last modified time | relevance | path

Searched refs:AddSourceLocation (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterStmt.cpp76 Record.AddSourceLocation(S->getSemiLoc()); in VisitNullStmt()
89 Record.AddSourceLocation(S->getLBracLoc()); in VisitCompoundStmt()
90 Record.AddSourceLocation(S->getRBracLoc()); in VisitCompoundStmt()
133 Record.AddSourceLocation(S->getAttrLoc()); in VisitAttributedStmt()
157 Record.AddSourceLocation(S->getIfLoc()); in VisitIfStmt()
213 Record.AddSourceLocation(S->getDoLoc()); in VisitDoStmt()
226 Record.AddSourceLocation(S->getForLoc()); in VisitForStmt()
428 Record.AddSourceLocation(D->DiagLoc); in addSubstitutionDiagnostic()
1347 Record.AddSourceLocation(E->ProtoLoc); in VisitObjCProtocolExpr()
1441 Record.AddSourceLocation(Locs[i]); in VisitObjCMessageExpr()
[all …]
H A DASTWriter.cpp254 Record.AddSourceLocation(Loc, Seq); in addSourceLocation()
1306 AddSourceLocation(M.ImportLoc, Record); in WriteControlBlock()
2321 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()
3015 AddSourceLocation(Loc, Record); in WritePragmaDiagnosticMappings()
3416 Writer.AddSourceLocation(Loc); in WriteReferencedSelectorsPool()
4249 AddSourceLocation(PragmaLoc, Record); in WriteOptimizePragmaOptions()
5548 AddSourceLocation(NameInfo.getLoc()); in AddDeclarationNameInfo()
6204 Record.AddSourceLocation(C->getEndLoc()); in writeClause()
6358 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPInitClause()
6364 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPUseClause()
[all …]
H A DASTWriterDecl.cpp342 Record.AddSourceLocation(D->getBeginLoc()); in VisitPragmaCommentDecl()
568 Record.AddSourceLocation(D->getEndLoc()); in VisitFunctionDecl()
720 Record.AddSourceLocation(D->getEndLoc()); in VisitObjCMethodDecl()
730 Record.AddSourceLocation(SelLocs[i]); in VisitObjCMethodDecl()
739 Record.AddSourceLocation(D->VarianceLoc); in VisitObjCTypeParamDecl()
740 Record.AddSourceLocation(D->ColonLoc); in VisitObjCTypeParamDecl()
772 Record.AddSourceLocation(PL); in VisitObjCInterfaceDecl()
827 Record.AddSourceLocation(PL); in VisitObjCProtocolDecl()
849 Record.AddSourceLocation(PL); in VisitObjCCategoryDecl()
861 Record.AddSourceLocation(D->getAtLoc()); in VisitObjCPropertyDecl()
[all …]
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dderived.cpp26 void AddSourceLocation(A<long> &R); // expected-note{{passing argument to parameter 'R' here}}
28 AddSourceLocation(Record); // expected-error{{non-const lvalue reference to type}} in AddTemplateKWAndArgsInfo()
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DASTRecordWriter.h137 void AddSourceLocation(SourceLocation Loc, LocSeq *Seq = nullptr) {
138 return Writer->AddSourceLocation(Loc, *Record, Seq);
141 AddSourceLocation(Loc); in writeSourceLocation()
H A DASTWriter.h587 void AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record,