Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Tooling/Refactoring/
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()
/external/llvm-project/clang/include/clang/Edit/
DEditedSource.h56 SourceLocation UseLoc; member
59 return std::tie(Identifier, ImmediateExpansionLoc, UseLoc) ==
61 Other.UseLoc);
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DUseAfterMoveCheck.cpp380 SourceLocation UseLoc = Use.DeclRef->getExprLoc(); in emitDiagnostic() local
383 Check->diag(UseLoc, "'%0' used after it was moved") in emitDiagnostic()
387 Check->diag(UseLoc, in emitDiagnostic()
391 } else if (UseLoc < MoveLoc || Use.DeclRef == MoveArg) { in emitDiagnostic()
392 Check->diag(UseLoc, in emitDiagnostic()
/external/llvm-project/clang/include/clang/Tooling/Refactoring/
DLookup.h42 SourceLocation UseLoc,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMIRCanonicalizerPass.cpp226 const unsigned UseLoc = getInstrIdx(*UseInst); in rescheduleCanonically() local
227 const unsigned Delta = (UseLoc - DefLoc); in rescheduleCanonically()
231 if (DefLoc >= UseLoc) in rescheduleCanonically()
/external/llvm-project/llvm/lib/CodeGen/
DMIRCanonicalizerPass.cpp225 const unsigned UseLoc = getInstrIdx(*UseInst); in rescheduleCanonically() local
226 const unsigned Delta = (UseLoc - DefLoc); in rescheduleCanonically()
230 if (DefLoc >= UseLoc) in rescheduleCanonically()
/external/llvm-project/clang/lib/Frontend/
DVerifyDiagnosticConsumer.cpp334 SourceLocation UseLoc; member
359 if (M.UseLoc.isInvalid()) in addMarker()
360 M.UseLoc = UD.DirectivePos; in addMarker()
373 if (M.UseLoc.isInvalid()) in addDirective()
374 M.UseLoc = UD.DirectivePos; in addDirective()
386 if (M.RedefLoc.isValid() && M.UseLoc.isValid()) { in finalize()
387 Diags.Report(M.UseLoc, diag::err_verify_ambiguous_marker) << Name; in finalize()
/external/llvm-project/clang/lib/Sema/
DSemaAccess.cpp1614 Sema::AccessResult Sema::CheckConstructorAccess(SourceLocation UseLoc, in CheckConstructorAccess() argument
1653 return CheckConstructorAccess(UseLoc, Constructor, Found, Entity, PD); in CheckConstructorAccess()
1657 Sema::AccessResult Sema::CheckConstructorAccess(SourceLocation UseLoc, in CheckConstructorAccess() argument
1695 return CheckAccess(*this, UseLoc, AccessEntity); in CheckConstructorAccess()
1719 Sema::AccessResult Sema::CheckMemberAccess(SourceLocation UseLoc, in CheckMemberAccess() argument
1730 return CheckAccess(*this, UseLoc, Entity); in CheckMemberAccess()
1735 Sema::CheckStructuredBindingMemberAccess(SourceLocation UseLoc, in CheckStructuredBindingMemberAccess() argument
1746 return CheckAccess(*this, UseLoc, Entity); in CheckStructuredBindingMemberAccess()
DSemaLookup.cpp5312 void Sema::diagnoseMissingImport(SourceLocation UseLoc, NamedDecl *Decl, in diagnoseMissingImport() argument
5338 PP.getHeaderToIncludeForDiagnostics(UseLoc, DeclLoc)) { in diagnoseMissingImport()
5340 SourceMgr.getFileEntryForID(SourceMgr.getFileID(UseLoc))) in diagnoseMissingImport()
5349 Diag(UseLoc, diag::err_module_unimported_use_header) in diagnoseMissingImport()
5354 createImplicitModuleImportForErrorRecovery(UseLoc, Modules[0]); in diagnoseMissingImport()
5372 Diag(UseLoc, diag::err_module_unimported_use_multiple) in diagnoseMissingImport()
5376 Diag(UseLoc, diag::err_module_unimported_use) in diagnoseMissingImport()
5384 createImplicitModuleImportForErrorRecovery(UseLoc, Modules[0]); in diagnoseMissingImport()
DSema.cpp765 SourceLocation UseLoc = Undef.second; in checkUndefinedButUsed() local
798 if (UseLoc.isValid()) in checkUndefinedButUsed()
799 S.Diag(UseLoc, diag::note_used_here); in checkUndefinedButUsed()
DSemaDeclCXX.cpp6914 SourceLocation UseLoc; member in Sema::InheritedConstructorInfo
6923 InheritedConstructorInfo(Sema &S, SourceLocation UseLoc, in InheritedConstructorInfo() argument
6925 : S(S), UseLoc(UseLoc) { in InheritedConstructorInfo()
6956 S.Diag(UseLoc, diag::err_ambiguous_inherited_constructor) in InheritedConstructorInfo()
6985 S.findInheritingConstructor(UseLoc, Ctor, It->second), in findConstructorForBase()
8509 void Sema::DefineDefaultedComparison(SourceLocation UseLoc, FunctionDecl *FD, in DefineDefaultedComparison() argument
8519 Scope.addContextNote(UseLoc); in DefineDefaultedComparison()
8538 ResolveExceptionSpec(UseLoc, FD->getType()->castAs<FunctionProtoType>()); in DefineDefaultedComparison()
/external/clang/lib/Sema/
DSemaAccess.cpp1611 Sema::AccessResult Sema::CheckConstructorAccess(SourceLocation UseLoc, in CheckConstructorAccess() argument
1650 return CheckConstructorAccess(UseLoc, Constructor, Found, Entity, PD); in CheckConstructorAccess()
1654 Sema::AccessResult Sema::CheckConstructorAccess(SourceLocation UseLoc, in CheckConstructorAccess() argument
1692 return CheckAccess(*this, UseLoc, AccessEntity); in CheckConstructorAccess()
1716 Sema::AccessResult Sema::CheckMemberAccess(SourceLocation UseLoc, in CheckMemberAccess() argument
1727 return CheckAccess(*this, UseLoc, Entity); in CheckMemberAccess()
DSemaLookup.cpp4984 void Sema::diagnoseMissingImport(SourceLocation UseLoc, NamedDecl *Decl, in diagnoseMissingImport() argument
5002 Diag(UseLoc, diag::err_module_unimported_use_multiple) in diagnoseMissingImport()
5005 PP.getModuleHeaderToIncludeForDiagnostics(UseLoc, DeclLoc)) { in diagnoseMissingImport()
5011 Diag(UseLoc, diag::err_module_unimported_use_header) in diagnoseMissingImport()
5016 Diag(UseLoc, diag::err_module_unimported_use) in diagnoseMissingImport()
5042 createImplicitModuleImportForErrorRecovery(UseLoc, Modules[0]); in diagnoseMissingImport()
DSemaDeclCXX.cpp5076 SourceLocation UseLoc; member in Sema::InheritedConstructorInfo
5085 InheritedConstructorInfo(Sema &S, SourceLocation UseLoc, in InheritedConstructorInfo() argument
5087 : S(S), UseLoc(UseLoc) { in InheritedConstructorInfo()
5118 S.Diag(UseLoc, diag::err_ambiguous_inherited_constructor) in InheritedConstructorInfo()
5147 S.findInheritingConstructor(UseLoc, Ctor, It->second), in findConstructorForBase()
10228 SourceLocation UseLoc) { in diagnoseDeprecatedCopyOperation() argument
10267 S.Diag(UseLoc, diag::note_member_synthesized_at) in diagnoseDeprecatedCopyOperation()
/external/llvm-project/clang/lib/Edit/
DEditedSource.cpp89 std::tie(ArgUse.ImmediateExpansionLoc, ArgUse.UseLoc) != in canInsertInOffset()
90 std::tie(U.ImmediateExpansionLoc, U.UseLoc); in canInsertInOffset()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemorySSA.cpp263 instructionClobbersQuery(const MemoryDef *MD, const MemoryLocation &UseLoc, in instructionClobbersQuery() argument
282 AR = AA.alias(MemoryLocation(II->getArgOperand(1)), UseLoc); in instructionClobbersQuery()
309 ModRefInfo I = AA.getModRefInfo(DefInst, UseLoc); in instructionClobbersQuery()
/external/llvm-project/llvm/lib/Analysis/
DMemorySSA.cpp269 instructionClobbersQuery(const MemoryDef *MD, const MemoryLocation &UseLoc, in instructionClobbersQuery() argument
309 ModRefInfo I = AA.getModRefInfo(DefInst, UseLoc); in instructionClobbersQuery()
/external/llvm-project/clang/lib/Parse/
DParser.cpp2448 SourceLocation UseLoc, in ParseModuleName() argument
2455 Actions.CodeCompleteModuleImport(UseLoc, Path); in ParseModuleName()
/external/llvm-project/clang/include/clang/Sema/
DSema.h943 void addContextNote(SourceLocation UseLoc) { in addContextNote() argument
948 Ctx.PointOfInstantiation = UseLoc; in addContextNote()
5776 void DefineInheritingConstructor(SourceLocation UseLoc,
7121 AccessResult CheckMemberAccess(SourceLocation UseLoc,
7125 CheckStructuredBindingMemberAccess(SourceLocation UseLoc,
/external/llvm-project/clang/include/clang/Parse/
DParser.h3356 SourceLocation UseLoc,
/external/clang/include/clang/Sema/
DSema.h4510 void DefineInheritingConstructor(SourceLocation UseLoc,
5587 AccessResult CheckMemberAccess(SourceLocation UseLoc,