| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/ |
| H A D | Lookup.cpp | 130 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 D | EditedSource.h | 56 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 D | UseAfterMoveCheck.cpp | 384 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 D | Lookup.h | 42 SourceLocation UseLoc,
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MIRCanonicalizerPass.cpp | 213 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 D | VerifyDiagnosticConsumer.cpp | 332 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 D | SemaAccess.cpp | 1629 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 D | SemaLookup.cpp | 5683 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 D | Sema.cpp | 861 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 D | SemaDeclCXX.cpp | 7094 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 D | EditedSource.cpp | 89 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 D | Parser.cpp | 2562 SourceLocation UseLoc, in ParseModuleName() argument 2570 Actions.CodeCompleteModuleImport(UseLoc, Path); in ParseModuleName()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | MemorySSA.cpp | 299 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 D | Sema.h | 1065 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 D | Parser.h | 3458 SourceLocation UseLoc,
|