Home
last modified time | relevance | path

Searched refs:Self (Results 1 – 25 of 67) sorted by relevance

123

/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaCast.cpp59 : Self(S), SrcExpr(src), DestType(destType), in CastOperation()
81 Sema &Self; member
119 Self.Context, Self.Context.ARCUnbridgedCastTy, CK_Dependent, in complete()
121 Self.CurFPFeatureOverrides()); in complete()
150 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange); in checkCastAlign()
154 assert(Self.getLangOpts().allowsNonTrivialObjCLifetimeQualifiers()); in checkObjCConversion()
157 if (Self.CheckObjCConversion(OpRange, DestType, src, CCK) == in checkObjCConversion()
168 SrcExpr = Self.CheckPlaceholderExpr(SrcExpr.get()); in checkNonOverloadPlaceholders()
192 CheckNoDeref(Op.Self, Op.SrcExpr.get()->getType(), Op.ResultType, in ~CheckNoDerefRAII()
200 static void DiagnoseCastQual(Sema &Self, const ExprResult &SrcExpr,
[all …]
DSemaExprCXX.cpp4774 Sema &Self, SourceLocation KeyLoc, ASTContext &C, in HasNoThrowOperator() argument
4785 LookupResult Res(Self, NameInfo, Sema::LookupOrdinaryName); in HasNoThrowOperator()
4786 if (Self.LookupQualifiedName(Res, RD)) { in HasNoThrowOperator()
4798 CPT = Self.ResolveExceptionSpec(KeyLoc, CPT); in HasNoThrowOperator()
4808 static bool EvaluateUnaryTypeTrait(Sema &Self, TypeTrait UTT, in EvaluateUnaryTypeTrait() argument
4812 ASTContext &C = Self.Context; in EvaluateUnaryTypeTrait()
5037 CXXDestructorDecl *Destructor = Self.LookupDestructor(RD); in EvaluateUnaryTypeTrait()
5049 CPT = Self.ResolveExceptionSpec(KeyLoc, CPT); in EvaluateUnaryTypeTrait()
5091 return HasNoThrowOperator(RT, OO_Equal, Self, KeyLoc, C, in EvaluateUnaryTypeTrait()
5104 return HasNoThrowOperator(RT, OO_Equal, Self, KeyLoc, C, in EvaluateUnaryTypeTrait()
[all …]
DSemaExceptionSpec.cpp990 static CanThrowResult canSubStmtsThrow(Sema &Self, const Stmt *S) { in canSubStmtsThrow() argument
995 R = mergeCanThrow(R, Self.canThrow(SubStmt)); in canSubStmtsThrow()
1057 static CanThrowResult canVarDeclThrow(Sema &Self, const VarDecl *VD) { in canVarDeclThrow() argument
1061 if (!VD->isUsableInConstantExpressions(Self.Context)) in canVarDeclThrow()
1063 CT = mergeCanThrow(CT, Self.canThrow(Init)); in canVarDeclThrow()
1066 if (VD->needsDestruction(Self.Context) == QualType::DK_cxx_destructor) { in canVarDeclThrow()
1071 CT, Sema::canCalleeThrow(Self, nullptr, Dtor, VD->getLocation())); in canVarDeclThrow()
1080 CT = mergeCanThrow(CT, canVarDeclThrow(Self, HD)); in canVarDeclThrow()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Serialization/
DContinuousRangeMap.h112 ContinuousRangeMap &Self; variable
115 explicit Builder(ContinuousRangeMap &Self) : Self(Self) {} in Builder() argument
120 llvm::sort(Self.Rep, Compare()); in ~Builder()
121 Self.Rep.erase( in ~Builder()
123 Self.Rep.begin(), Self.Rep.end(), in ~Builder()
131 Self.Rep.end()); in ~Builder()
135 Self.Rep.push_back(Val); in insert()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DCFG.h52 using Self = PredIterator<Ptr, USE_iterator>;
73 inline bool operator==(const Self& x) const { return It == x.It; }
74 inline bool operator!=(const Self& x) const { return !operator==(x); }
82 inline Self& operator++() { // Preincrement
88 inline Self operator++(int) { // Postincrement
89 Self tmp = *this; ++*this; return tmp;
151 using Self = SuccIterator<InstructionT, BlockT>; variable
161 Self It;
164 explicit SuccessorProxy(const Self &It) : It(It) {} in SuccessorProxy()
202 inline bool operator==(const Self &x) const { return Idx == x.Idx; }
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DRegionIterator.h106 using Self = RNSuccIterator<NodeRef, BlockT, RegionT>;
126 inline bool operator==(const Self& x) const {
134 inline bool operator!=(const Self& x) const { return !operator==(x); }
142 inline Self& operator++() {
156 inline Self operator++(int) {
157 Self tmp = *this;
184 using Self = RNSuccIterator<FlatIt<NodeRef>, BlockT, RegionT>; variable
209 inline bool operator==(const Self& x) const {
216 inline bool operator!=(const Self& x) const { return !operator==(x); }
231 inline Self& operator++() {
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Parse/
DRAIIObjectsForParser.h370 PoisonSEHIdentifiersRAIIObject(Parser &Self, bool NewValue) in PoisonSEHIdentifiersRAIIObject() argument
371 : Ident_AbnormalTermination(Self.Ident_AbnormalTermination, NewValue), in PoisonSEHIdentifiersRAIIObject()
372 Ident_GetExceptionCode(Self.Ident_GetExceptionCode, NewValue), in PoisonSEHIdentifiersRAIIObject()
373 Ident_GetExceptionInfo(Self.Ident_GetExceptionInfo, NewValue), in PoisonSEHIdentifiersRAIIObject()
374 Ident__abnormal_termination(Self.Ident__abnormal_termination, NewValue), in PoisonSEHIdentifiersRAIIObject()
375 Ident__exception_code(Self.Ident__exception_code, NewValue), in PoisonSEHIdentifiersRAIIObject()
376 Ident__exception_info(Self.Ident__exception_info, NewValue), in PoisonSEHIdentifiersRAIIObject()
377 Ident___abnormal_termination(Self.Ident___abnormal_termination, NewValue), in PoisonSEHIdentifiersRAIIObject()
378 Ident___exception_code(Self.Ident___exception_code, NewValue), in PoisonSEHIdentifiersRAIIObject()
379 Ident___exception_info(Self.Ident___exception_info, NewValue) { in PoisonSEHIdentifiersRAIIObject()
DParser.h296 Parser &Self; member
298 DestroyTemplateIdAnnotationsRAIIObj(Parser &Self) : Self(Self) {} in DestroyTemplateIdAnnotationsRAIIObj()
299 ~DestroyTemplateIdAnnotationsRAIIObj() { Self.MaybeDestroyTemplateIds(); } in ~DestroyTemplateIdAnnotationsRAIIObj()
1082 Parser *Self; variable
1090 ParseScope(Parser *Self, unsigned ScopeFlags, bool EnteredScope = true,
1092 : Self(Self) { in Self() function
1094 Self->EnterScope(ScopeFlags); in Self()
1097 Self->incrementMSManglingNumber(); in Self()
1099 this->Self = nullptr; in Self()
1106 if (Self) { in Exit()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/
DParseCXXInlineMethods.cpp229 : Self(P), Class(C) {} in LateParsedClass()
232 Self->DeallocateParsedClasses(Class); in ~LateParsedClass()
236 Self->ParseLexedMethodDeclarations(*Class); in ParseLexedMethodDeclarations()
240 Self->ParseLexedMemberInitializers(*Class); in ParseLexedMemberInitializers()
244 Self->ParseLexedMethodDefs(*Class); in ParseLexedMethodDefs()
248 Self->ParseLexedAttributes(*Class); in ParseLexedAttributes()
252 Self->ParseLexedPragmas(*Class); in ParseLexedPragmas()
256 Self->ParseLexedMethodDeclaration(*this); in ParseLexedMethodDeclarations()
260 Self->ParseLexedMethodDef(*this); in ParseLexedMethodDefs()
264 Self->ParseLexedMemberInitializer(*this); in ParseLexedMemberInitializers()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
DConstructionContext.cpp32 const ConstructionContextLayer *Self = this; in isStrictlyMoreSpecificThan() local
35 return Self; in isStrictlyMoreSpecificThan()
36 if (!Self || !(Self->Item == Other->Item)) in isStrictlyMoreSpecificThan()
38 Self = Self->getParent(); in isStrictlyMoreSpecificThan()
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DModuleBuilder.cpp45 CodeGeneratorImpl &Self; member
47 HandlingTopLevelDeclRAII(CodeGeneratorImpl &Self, in HandlingTopLevelDeclRAII()
49 : Self(Self), EmitDeferred(EmitDeferred) { in HandlingTopLevelDeclRAII()
50 ++Self.HandlingTopLevelDecls; in HandlingTopLevelDeclRAII()
53 unsigned Level = --Self.HandlingTopLevelDecls; in ~HandlingTopLevelDeclRAII()
55 Self.EmitDeferredDecls(); in ~HandlingTopLevelDeclRAII()
DCGDebugInfo.h97 const CGDebugInfo &Self; variable
100 PrintingCallbacks(const CGDebugInfo &Self) : Self(Self) {} in PrintingCallbacks() argument
102 return Self.remapDIPath(Path); in remapPath()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DJITLinkGeneric.cpp25 void JITLinkerBase::linkPhase1(std::unique_ptr<JITLinkerBase> Self) { in linkPhase1() argument
84 auto &TmpSelf = *Self; in linkPhase1()
85 TmpSelf.linkPhase2(std::move(Self), AsyncLookupResult(), std::move(Layout)); in linkPhase1()
108 [S = std::move(Self), L = std::move(Layout)]( in linkPhase1()
116 void JITLinkerBase::linkPhase2(std::unique_ptr<JITLinkerBase> Self, in linkPhase2() argument
161 auto *UnownedSelf = Self.release(); in linkPhase2()
163 std::unique_ptr<JITLinkerBase> Self(UnownedSelf); in linkPhase2() local
164 UnownedSelf->linkPhase3(std::move(Self), std::move(Err)); in linkPhase2()
170 void JITLinkerBase::linkPhase3(std::unique_ptr<JITLinkerBase> Self, Error Err) { in linkPhase3() argument
DJITLinkGeneric.h69 void linkPhase1(std::unique_ptr<JITLinkerBase> Self);
77 void linkPhase2(std::unique_ptr<JITLinkerBase> Self,
83 void linkPhase3(std::unique_ptr<JITLinkerBase> Self, Error Err);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Lex/
DPreprocessingRecord.h436 PreprocessingRecord *Self; variable
438 iterator(PreprocessingRecord *Self, int Position) in iterator() argument
439 : iterator::iterator_adaptor_base(Position), Self(Self) {} in iterator()
447 Self->LoadedPreprocessedEntities.size() + this->I : this->I;
448 PPEntityID ID = Self->getPPEntityID(Index, isLoaded);
449 return Self->getPreprocessedEntity(ID);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
DThreadSafetyTraverse.h57 template <class Self, class R>
60 Self *self() { return static_cast<Self *>(this); } in self()
184 template <class Self>
185 class VisitReducer : public Traversal<Self, VisitReducerBase>,
300 Self Visitor; in visit()
309 template <typename Self>
312 Self *self() { return reinterpret_cast<Self *>(this); } in self()
404 template <typename Self, typename StreamType>
421 Self printer; in print()
426 Self *self() { return reinterpret_cast<Self *>(this); } in self()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
DBitTracker.h229 bool meet(const BitValue &V, const BitRef &Self) { in meet()
231 if (Type == Ref && RefI == Self) // Bottom.meet(V) = Bottom (i.e. This) in meet()
248 RefI = Self; in meet()
255 static BitValue self(const BitRef &Self = BitRef());
280 BitTracker::BitValue::self(const BitRef &Self) { in self() argument
281 return BitValue(Self.Reg, Self.Pos); in self()
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DInheritViz.cpp137 QualType Self = Context.getTypeDeclType(this); in viewInheritance() local
142 Self.getAsString(), "dot", FD, Filename)) { in viewInheritance()
152 Writer.WriteGraph(Self); in viewInheritance()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DExternalASTSource.h519 LazyVector *Self;
521 iterator(LazyVector *Self, int Position)
522 : iterator::iterator_adaptor_base(Position), Self(Self) {}
531 return Self->Loaded.end()[this->I];
532 return Self->Local.begin()[this->I];
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
DItaniumManglingCanonicalizer.cpp162 CanonicalizerAllocator &Self; member
164 return Self.makeNodeSimple<T>(std::forward<Args>(As)...); in make()
197 CanonicalizerAllocator &Self; member
199 Node *StdNamespace = Self.makeNode<itanium_demangle::NameType>("std"); in make()
202 return Self.makeNode<itanium_demangle::NestedName>(StdNamespace, Child); in make()
/freebsd-12-stable/contrib/file/magic/Magdir/
Dmotorola66 >30 string SFX [Self-Extracting LZH SFX archive]
67 >38 string SFX [Self-Extracting LZH SFX archive]
68 >44 string ZIP! [Self-Extracting ZIP SFX archive]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Frontend/
DASTUnit.h408 ASTUnit &Self; variable
411 explicit ConcurrencyCheck(ASTUnit &Self) : Self(Self) { in ConcurrencyCheck() argument
412 Self.ConcurrencyCheckValue.start(); in ConcurrencyCheck()
416 Self.ConcurrencyCheckValue.finish(); in ~ConcurrencyCheck()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/Windows/
DDynamicLibrary.inc114 HMODULE Self = HMODULE(GetCurrentProcess());
115 if (!GetProcessModules(Self, Bytes))
127 if (!GetProcessModules(Self, Bytes, Handles.data()))
/freebsd-12-stable/contrib/libxo/tests/gettext/po/pig_latin/
Dldns.po12 "Language-Team: Self-inflicted <test@example.com>\n"
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/Unix/
DThreading.inc115 thread_port_t Self = mach_thread_self();
116 mach_port_deallocate(mach_task_self(), Self);
117 return Self;

123