Home
last modified time | relevance | path

Searched refs:UseLoc (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/
H A DLookup.cpp130 SourceLocation UseLoc) { in disambiguateSpellingInScope() argument
146 UseLoc = SM.getSpellingLoc(UseLoc); in disambiguateSpellingInScope()
165 SM.getSpellingLoc(Res->getLocation()), UseLoc)) in disambiguateSpellingInScope()
186 SourceLocation UseLoc, in replaceNestedName() argument
223 UseLoc); in replaceNestedName()
/llvm-project-15.0.7/clang/include/clang/Edit/
H A DEditedSource.h56 SourceLocation UseLoc; member
59 return std::tie(Identifier, ImmediateExpansionLoc, UseLoc) ==
61 Other.UseLoc);
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DUseAfterMoveCheck.cpp384 SourceLocation UseLoc = Use.DeclRef->getExprLoc(); in emitDiagnostic() local
387 Check->diag(UseLoc, "'%0' used after it was moved") in emitDiagnostic()
391 Check->diag(UseLoc, in emitDiagnostic()
395 } else if (UseLoc < MoveLoc || Use.DeclRef == MoveArg) { in emitDiagnostic()
396 Check->diag(UseLoc, in emitDiagnostic()
/llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/
H A DLookup.h42 SourceLocation UseLoc,
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMIRCanonicalizerPass.cpp213 const unsigned UseLoc = getInstrIdx(*UseInst); in rescheduleCanonically() local
214 const unsigned Delta = (UseLoc - DefLoc); in rescheduleCanonically()
218 if (DefLoc >= UseLoc) in rescheduleCanonically()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp332 SourceLocation UseLoc; member
357 if (M.UseLoc.isInvalid()) in addMarker()
358 M.UseLoc = UD.DirectivePos; in addMarker()
371 if (M.UseLoc.isInvalid()) in addDirective()
372 M.UseLoc = UD.DirectivePos; in addDirective()
384 if (M.RedefLoc.isValid() && M.UseLoc.isValid()) { in finalize()
385 Diags.Report(M.UseLoc, diag::err_verify_ambiguous_marker) << Name; in finalize()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaAccess.cpp1629 Sema::AccessResult Sema::CheckConstructorAccess(SourceLocation UseLoc, in CheckConstructorAccess() argument
1668 return CheckConstructorAccess(UseLoc, Constructor, Found, Entity, PD); in CheckConstructorAccess()
1672 Sema::AccessResult Sema::CheckConstructorAccess(SourceLocation UseLoc, in CheckConstructorAccess() argument
1710 return CheckAccess(*this, UseLoc, AccessEntity); in CheckConstructorAccess()
1734 Sema::AccessResult Sema::CheckMemberAccess(SourceLocation UseLoc, in CheckMemberAccess() argument
1745 return CheckAccess(*this, UseLoc, Entity); in CheckMemberAccess()
1750 Sema::CheckStructuredBindingMemberAccess(SourceLocation UseLoc, in CheckStructuredBindingMemberAccess() argument
1761 return CheckAccess(*this, UseLoc, Entity); in CheckStructuredBindingMemberAccess()
H A DSemaLookup.cpp5683 void Sema::diagnoseMissingImport(SourceLocation UseLoc, NamedDecl *Decl, in diagnoseMissingImport() argument
5709 PP.getHeaderToIncludeForDiagnostics(UseLoc, DeclLoc)) { in diagnoseMissingImport()
5711 SourceMgr.getFileEntryForID(SourceMgr.getFileID(UseLoc))) in diagnoseMissingImport()
5720 Diag(UseLoc, diag::err_module_unimported_use_header) in diagnoseMissingImport()
5725 createImplicitModuleImportForErrorRecovery(UseLoc, Modules[0]); in diagnoseMissingImport()
5743 Diag(UseLoc, diag::err_module_unimported_use_multiple) in diagnoseMissingImport()
5747 Diag(UseLoc, diag::err_module_unimported_use) in diagnoseMissingImport()
5755 createImplicitModuleImportForErrorRecovery(UseLoc, Modules[0]); in diagnoseMissingImport()
H A DSema.cpp861 SourceLocation UseLoc = Undef.second; in checkUndefinedButUsed() local
907 if (UseLoc.isValid()) in checkUndefinedButUsed()
908 S.Diag(UseLoc, diag::note_used_here); in checkUndefinedButUsed()
H A DSemaDeclCXX.cpp7094 SourceLocation UseLoc; member in Sema::InheritedConstructorInfo
7103 InheritedConstructorInfo(Sema &S, SourceLocation UseLoc, in InheritedConstructorInfo() argument
7105 : S(S), UseLoc(UseLoc) { in InheritedConstructorInfo()
7136 S.Diag(UseLoc, diag::err_ambiguous_inherited_constructor) in InheritedConstructorInfo()
7165 S.findInheritingConstructor(UseLoc, Ctor, It->second), in findConstructorForBase()
8772 void Sema::DefineDefaultedComparison(SourceLocation UseLoc, FunctionDecl *FD, in DefineDefaultedComparison() argument
8782 Scope.addContextNote(UseLoc); in DefineDefaultedComparison()
8804 ResolveExceptionSpec(UseLoc, FD->getType()->castAs<FunctionProtoType>()); in DefineDefaultedComparison()
/llvm-project-15.0.7/clang/lib/Edit/
H A DEditedSource.cpp89 std::tie(ArgUse.ImmediateExpansionLoc, ArgUse.UseLoc) != in canInsertInOffset()
90 std::tie(U.ImmediateExpansionLoc, U.UseLoc); in canInsertInOffset()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParser.cpp2562 SourceLocation UseLoc, in ParseModuleName() argument
2570 Actions.CodeCompleteModuleImport(UseLoc, Path); in ParseModuleName()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemorySSA.cpp299 instructionClobbersQuery(const MemoryDef *MD, const MemoryLocation &UseLoc, in instructionClobbersQuery() argument
341 ModRefInfo I = AA.getModRefInfo(DefInst, UseLoc); in instructionClobbersQuery()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h1065 void addContextNote(SourceLocation UseLoc) { in addContextNote() argument
1070 Ctx.PointOfInstantiation = UseLoc; in addContextNote()
6267 void DefineInheritingConstructor(SourceLocation UseLoc,
7633 AccessResult CheckMemberAccess(SourceLocation UseLoc,
7637 CheckStructuredBindingMemberAccess(SourceLocation UseLoc,
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h3458 SourceLocation UseLoc,