Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/Edit/
H A DEditedSource.h56 SourceLocation UseLoc; member
59 return std::tie(Identifier, ImmediateExpansionLoc, UseLoc) ==
61 Other.UseLoc);
/openbsd-src/gnu/llvm/clang/include/clang/Tooling/Refactoring/
H A DLookup.h42 SourceLocation UseLoc,
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaAccess.cpp1631 Sema::AccessResult Sema::CheckConstructorAccess(SourceLocation UseLoc, in CheckConstructorAccess() argument
1671 return CheckConstructorAccess(UseLoc, Constructor, Found, Entity, PD); in CheckConstructorAccess()
1675 Sema::AccessResult Sema::CheckConstructorAccess(SourceLocation UseLoc, in CheckConstructorAccess() argument
1713 return CheckAccess(*this, UseLoc, AccessEntity); in CheckConstructorAccess()
1737 Sema::AccessResult Sema::CheckMemberAccess(SourceLocation UseLoc, in CheckMemberAccess() argument
1748 return CheckAccess(*this, UseLoc, Entity); in CheckMemberAccess()
1753 Sema::CheckStructuredBindingMemberAccess(SourceLocation UseLoc, in CheckStructuredBindingMemberAccess() argument
1764 return CheckAccess(*this, UseLoc, Entity); in CheckStructuredBindingMemberAccess()
H A DSemaLookup.cpp5692 void Sema::diagnoseMissingImport(SourceLocation UseLoc, NamedDecl *Decl, in diagnoseMissingImport() argument
5718 PP.getHeaderToIncludeForDiagnostics(UseLoc, DeclLoc)) { in diagnoseMissingImport()
5720 SourceMgr.getFileEntryForID(SourceMgr.getFileID(UseLoc))) in diagnoseMissingImport()
5729 Diag(UseLoc, diag::err_module_unimported_use_header) in diagnoseMissingImport()
5734 createImplicitModuleImportForErrorRecovery(UseLoc, Modules[0]); in diagnoseMissingImport()
5752 Diag(UseLoc, diag::err_module_unimported_use_multiple) in diagnoseMissingImport()
5756 Diag(UseLoc, diag::err_module_unimported_use) in diagnoseMissingImport()
5764 createImplicitModuleImportForErrorRecovery(UseLoc, Modules[0]); in diagnoseMissingImport()
H A DSema.cpp863 SourceLocation UseLoc = Undef.second; in checkUndefinedButUsed() local
909 if (UseLoc.isValid()) in checkUndefinedButUsed()
910 S.Diag(UseLoc, diag::note_used_here); in checkUndefinedButUsed()
H A DSemaDeclCXX.cpp7143 SourceLocation UseLoc; member in Sema::InheritedConstructorInfo
7152 InheritedConstructorInfo(Sema &S, SourceLocation UseLoc, in InheritedConstructorInfo() argument
7154 : S(S), UseLoc(UseLoc) { in InheritedConstructorInfo()
7185 S.Diag(UseLoc, diag::err_ambiguous_inherited_constructor) in InheritedConstructorInfo()
7214 S.findInheritingConstructor(UseLoc, Ctor, It->second), in findConstructorForBase()
8858 void Sema::DefineDefaultedComparison(SourceLocation UseLoc, FunctionDecl *FD, in DefineDefaultedComparison() argument
8868 Scope.addContextNote(UseLoc); in DefineDefaultedComparison()
8890 ResolveExceptionSpec(UseLoc, FD->getType()->castAs<FunctionProtoType>()); in DefineDefaultedComparison()
/openbsd-src/gnu/llvm/clang/lib/Edit/
H A DEditedSource.cpp89 std::tie(ArgUse.ImmediateExpansionLoc, ArgUse.UseLoc) != in canInsertInOffset()
90 std::tie(U.ImmediateExpansionLoc, U.UseLoc); in canInsertInOffset()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMemorySSA.cpp287 instructionClobbersQuery(const MemoryDef *MD, const MemoryLocation &UseLoc, in instructionClobbersQuery() argument
326 ModRefInfo I = AA.getModRefInfo(DefInst, UseLoc); in instructionClobbersQuery()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParser.cpp2613 SourceLocation UseLoc, in ParseModuleName() argument
2621 Actions.CodeCompleteModuleImport(UseLoc, Path); in ParseModuleName()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h1066 void addContextNote(SourceLocation UseLoc) { in addContextNote() argument
1071 Ctx.PointOfInstantiation = UseLoc; in addContextNote()
6422 void DefineInheritingConstructor(SourceLocation UseLoc,
7882 AccessResult CheckMemberAccess(SourceLocation UseLoc,
7886 CheckStructuredBindingMemberAccess(SourceLocation UseLoc,
/openbsd-src/gnu/llvm/clang/include/clang/Parse/
H A DParser.h3572 SourceLocation UseLoc,