Searched refs:UseLoc (Results 1 - 14 of 14) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/Core/
H A DLookup.h34 /// \param UseLoc The location of name to be replaced.
42 SourceLocation UseLoc,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Core/
H A DLookup.cpp130 SourceLocation UseLoc) {
146 UseLoc = SM.getSpellingLoc(UseLoc);
159 // If `Res` is not visible in `UseLoc`, we don't consider it
165 SM.getSpellingLoc(Res->getLocation()), UseLoc))
186 SourceLocation UseLoc,
223 UseLoc);
127 disambiguateSpellingInScope(StringRef Spelling, StringRef QName, const DeclContext &UseContext, SourceLocation UseLoc) argument
185 replaceNestedName(const NestedNameSpecifier *Use, SourceLocation UseLoc, const DeclContext *UseContext, const NamedDecl *FromDecl, StringRef ReplacementString) argument
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Edit/
H A DEditedSource.h56 SourceLocation UseLoc; member in struct:clang::edit::EditedSource::MacroArgUse
59 return std::tie(Identifier, ImmediateExpansionLoc, UseLoc) ==
61 Other.UseLoc);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRCanonicalizerPass.cpp226 const unsigned UseLoc = getInstrIdx(*UseInst); local
227 const unsigned Delta = (UseLoc - DefLoc);
231 if (DefLoc >= UseLoc)
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp334 SourceLocation UseLoc; member in struct:VerifyDiagnosticConsumer::MarkerTracker::Marker
359 if (M.UseLoc.isInvalid())
360 M.UseLoc = UD.DirectivePos;
373 if (M.UseLoc.isInvalid())
374 M.UseLoc = UD.DirectivePos;
386 if (M.RedefLoc.isValid() && M.UseLoc.isValid()) {
387 Diags.Report(M.UseLoc, diag::err_verify_ambiguous_marker) << Name;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp1613 Sema::AccessResult Sema::CheckConstructorAccess(SourceLocation UseLoc, argument
1652 return CheckConstructorAccess(UseLoc, Constructor, Found, Entity, PD);
1656 Sema::AccessResult Sema::CheckConstructorAccess(SourceLocation UseLoc, argument
1694 return CheckAccess(*this, UseLoc, AccessEntity);
1718 Sema::AccessResult Sema::CheckMemberAccess(SourceLocation UseLoc, argument
1729 return CheckAccess(*this, UseLoc, Entity);
1734 Sema::CheckStructuredBindingMemberAccess(SourceLocation UseLoc, argument
1745 return CheckAccess(*this, UseLoc, Entity);
H A DSemaLookup.cpp5268 void Sema::diagnoseMissingImport(SourceLocation UseLoc, NamedDecl *Decl,
5294 PP.getHeaderToIncludeForDiagnostics(UseLoc, DeclLoc)) {
5296 SourceMgr.getFileEntryForID(SourceMgr.getFileID(UseLoc)))
5305 Diag(UseLoc, diag::err_module_unimported_use_header)
5310 createImplicitModuleImportForErrorRecovery(UseLoc, Modules[0]);
5328 Diag(UseLoc, diag::err_module_unimported_use_multiple)
5332 Diag(UseLoc, diag::err_module_unimported_use)
5340 createImplicitModuleImportForErrorRecovery(UseLoc, Modules[0]);
H A DSema.cpp751 SourceLocation UseLoc = Undef.second; local
784 if (UseLoc.isValid())
785 S.Diag(UseLoc, diag::note_used_here);
H A DSemaDeclCXX.cpp6866 SourceLocation UseLoc;
6875 InheritedConstructorInfo(Sema &S, SourceLocation UseLoc,
6877 : S(S), UseLoc(UseLoc) {
6908 S.Diag(UseLoc, diag::err_ambiguous_inherited_constructor)
6937 S.findInheritingConstructor(UseLoc, Ctor, It->second),
8460 void Sema::DefineDefaultedComparison(SourceLocation UseLoc, FunctionDecl *FD,
8470 Scope.addContextNote(UseLoc);
8489 ResolveExceptionSpec(UseLoc, FD->getType()->castAs<FunctionProtoType>());
/freebsd-13-stable/contrib/llvm-project/clang/lib/Edit/
H A DEditedSource.cpp89 std::tie(ArgUse.ImmediateExpansionLoc, ArgUse.UseLoc) !=
90 std::tie(U.ImmediateExpansionLoc, U.UseLoc);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSA.cpp263 instructionClobbersQuery(const MemoryDef *MD, const MemoryLocation &UseLoc, argument
282 AR = AA.alias(MemoryLocation(II->getArgOperand(1)), UseLoc);
309 ModRefInfo I = AA.getModRefInfo(DefInst, UseLoc);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp2414 SourceLocation UseLoc,
2421 Actions.CodeCompleteModuleImport(UseLoc, Path);
2413 ParseModuleName( SourceLocation UseLoc, SmallVectorImpl<std::pair<IdentifierInfo *, SourceLocation>> &Path, bool IsImport) argument
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h947 void addContextNote(SourceLocation UseLoc) { argument
952 Ctx.PointOfInstantiation = UseLoc;
5668 void DefineInheritingConstructor(SourceLocation UseLoc,
7018 AccessResult CheckMemberAccess(SourceLocation UseLoc,
7022 CheckStructuredBindingMemberAccess(SourceLocation UseLoc,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h3331 SourceLocation UseLoc,

Completed in 390 milliseconds