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

/freebsd-11-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-11-stable/contrib/llvm-project/clang/lib/Tooling/Core/
H A DLookup.cpp128 SourceLocation UseLoc) {
144 UseLoc = SM.getSpellingLoc(UseLoc);
157 // If `Res` is not visible in `UseLoc`, we don't consider it
163 SM.getSpellingLoc(Res->getLocation()), UseLoc))
184 SourceLocation UseLoc,
220 UseLoc);
125 disambiguateSpellingInScope(StringRef Spelling, StringRef QName, const DeclContext &UseContext, SourceLocation UseLoc) argument
183 replaceNestedName(const NestedNameSpecifier *Use, SourceLocation UseLoc, const DeclContext *UseContext, const NamedDecl *FromDecl, StringRef ReplacementString) argument
/freebsd-11-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-11-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-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp330 SourceLocation UseLoc; member in struct:VerifyDiagnosticConsumer::MarkerTracker::Marker
355 if (M.UseLoc.isInvalid())
356 M.UseLoc = UD.DirectivePos;
369 if (M.UseLoc.isInvalid())
370 M.UseLoc = UD.DirectivePos;
382 if (M.RedefLoc.isValid() && M.UseLoc.isValid()) {
383 Diags.Report(M.UseLoc, diag::err_verify_ambiguous_marker) << Name;
/freebsd-11-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.cpp5356 void Sema::diagnoseMissingImport(SourceLocation UseLoc, NamedDecl *Decl,
5396 SourceMgr.getFileEntryForID(SourceMgr.getFileID(UseLoc)))
5402 PP.getModuleHeaderToIncludeForDiagnostics(UseLoc, Modules[0], DeclLoc);
5405 Diag(UseLoc, diag::err_module_unimported_use_global_module_fragment)
5415 createImplicitModuleImportForErrorRecovery(UseLoc, Modules[0]);
5433 Diag(UseLoc, diag::err_module_unimported_use_multiple)
5436 UseLoc, Modules[0], DeclLoc)) {
5442 Diag(UseLoc, diag::err_module_unimported_use_header)
5447 Diag(UseLoc, diag::err_module_unimported_use)
5455 createImplicitModuleImportForErrorRecovery(UseLoc, Module
[all...]
H A DSema.cpp746 SourceLocation UseLoc = Undef.second; local
779 if (UseLoc.isValid())
780 S.Diag(UseLoc, diag::note_used_here);
H A DSemaDeclCXX.cpp6618 SourceLocation UseLoc;
6627 InheritedConstructorInfo(Sema &S, SourceLocation UseLoc,
6629 : S(S), UseLoc(UseLoc) {
6660 S.Diag(UseLoc, diag::err_ambiguous_inherited_constructor)
6689 S.findInheritingConstructor(UseLoc, Ctor, It->second),
8210 void Sema::DefineDefaultedComparison(SourceLocation UseLoc, FunctionDecl *FD,
8220 Scope.addContextNote(UseLoc);
8239 ResolveExceptionSpec(UseLoc, FD->getType()->castAs<FunctionProtoType>());
/freebsd-11-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-11-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-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp2406 SourceLocation UseLoc,
2413 Actions.CodeCompleteModuleImport(UseLoc, Path);
2405 ParseModuleName( SourceLocation UseLoc, SmallVectorImpl<std::pair<IdentifierInfo *, SourceLocation>> &Path, bool IsImport) argument
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h885 void addContextNote(SourceLocation UseLoc) { argument
890 Ctx.PointOfInstantiation = UseLoc;
5446 void DefineInheritingConstructor(SourceLocation UseLoc,
6779 AccessResult CheckMemberAccess(SourceLocation UseLoc,
6783 CheckStructuredBindingMemberAccess(SourceLocation UseLoc,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h3145 SourceLocation UseLoc,

Completed in 398 milliseconds