Searched defs:Self (Results 1 - 25 of 27) sorted by relevance

12

/external/clang/test/SemaTemplate/
H A Denum-argument.cpp6 typedef C<v> Self; typedef in struct:C
/external/clang/lib/AST/
H A DInheritViz.cpp138 QualType Self = Context.getTypeDeclType(this); local
143 sys::fs::createTemporaryFile(Self.getAsString(), "dot", FD, Filename);
154 Writer.WriteGraph(Self);
H A DDeclBase.cpp954 NamespaceDecl *Self = static_cast<NamespaceDecl *>(this); local
955 for (NamespaceDecl *N = Self->getMostRecentDecl(); N;
H A DASTContext.cpp6281 ASTContext &Self = const_cast<ASTContext &>(*this); local
6283 SubstTemplateTemplateParmPackStorage::Profile(ID, Self, Param, ArgPack);
/external/clang/include/clang/Serialization/
H A DContinuousRangeMap.h110 ContinuousRangeMap &Self; member in class:clang::ContinuousRangeMap::Builder
116 explicit Builder(ContinuousRangeMap &Self) : Self(Self) { } argument
119 std::sort(Self.Rep.begin(), Self.Rep.end(), Compare());
123 Self.Rep.push_back(Val);
/external/llvm/include/llvm/Analysis/
H A DRegionIterator.h87 typedef RNSuccIterator<NodeType> Self; typedef in class:llvm::RNSuccIterator
111 inline bool operator==(const Self& x) const {
119 inline bool operator!=(const Self& x) const { return !operator==(x); }
127 inline Self& operator++() {
141 inline Self operator++(int) {
142 Self tmp = *this;
147 inline const Self &operator=(const Self &I) {
174 typedef RNSuccIterator<FlatIt<NodeType> > Self; typedef in class:llvm::RNSuccIterator
199 inline bool operator==(const Self
[all...]
H A DRegionInfo.h516 typedef block_iterator_wrapper<IsConst> Self; typedef in class:llvm::Region::block_iterator_wrapper
/external/chromium_org/ppapi/utility/
H A Dcompletion_callback_factory.h576 Self* self = static_cast<Self*>(user_data);
588 typedef CallbackData<Dispatcher> Self; typedef in class:pp::CompletionCallbackFactory::CallbackData
/external/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp230 : Self(P), Class(C) {}
233 Self->DeallocateParsedClasses(Class);
237 Self->ParseLexedMethodDeclarations(*Class);
241 Self->ParseLexedMemberInitializers(*Class);
245 Self->ParseLexedMethodDefs(*Class);
249 Self->ParseLexedMethodDeclaration(*this);
253 Self->ParseLexedMethodDef(*this);
257 Self->ParseLexedMemberInitializer(*this);
859 explicit UnannotatedTentativeParsingAction(Parser &Self, argument
861 : TentativeParsingAction(Self), Sel
885 Parser &Self; member in class:Parser::UnannotatedTentativeParsingAction
[all...]
H A DRAIIObjectsForParser.h344 PoisonSEHIdentifiersRAIIObject(Parser &Self, bool NewValue) argument
345 : Ident_AbnormalTermination(Self.Ident_AbnormalTermination, NewValue),
346 Ident_GetExceptionCode(Self.Ident_GetExceptionCode, NewValue),
347 Ident_GetExceptionInfo(Self.Ident_GetExceptionInfo, NewValue),
348 Ident__abnormal_termination(Self.Ident__abnormal_termination, NewValue),
349 Ident__exception_code(Self.Ident__exception_code, NewValue),
350 Ident__exception_info(Self.Ident__exception_info, NewValue),
351 Ident___abnormal_termination(Self.Ident___abnormal_termination, NewValue),
352 Ident___exception_code(Self.Ident___exception_code, NewValue),
353 Ident___exception_info(Self
[all...]
H A DParser.cpp381 Parser::ParseScopeFlags::ParseScopeFlags(Parser *Self, unsigned ScopeFlags, argument
383 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) {
/external/llvm/include/llvm/IR/
H A DCFG.h33 typedef PredIterator<Ptr, USE_iterator> Self; typedef in class:llvm::PredIterator
52 inline bool operator==(const Self& x) const { return It == x.It; }
53 inline bool operator!=(const Self& x) const { return !operator==(x); }
61 inline Self& operator++() { // Preincrement
67 inline Self operator++(int) { // Postincrement
68 Self tmp = *this; ++*this; return tmp;
116 typedef SuccIterator<Term_, BB_> Self; typedef in class:llvm::SuccIterator
124 Self it;
127 explicit SuccessorProxy(const Self &it) : it(it) {}
158 inline const Self
[all...]
H A DInstructions.h2587 typedef CaseIteratorT<SwitchInstTy, ConstantIntTy, BasicBlockTy> Self; typedef in class:llvm::SwitchInst::CaseIteratorT
2598 static Self fromSuccessorIndex(SwitchInstTy *SI, unsigned SuccessorIndex) {
2602 Self(SI, SuccessorIndex - 1) :
2603 Self(SI, DefaultPseudoIndex);
2630 Self operator++() {
2637 Self operator++(int) {
2638 Self tmp = *this;
2642 Self operator--() {
2651 Self operator--(int) {
2652 Self tm
[all...]
/external/clang/include/clang/AST/
H A DExternalASTSource.h482 LazyVector *Self; member in class:clang::LazyVector::iterator
507 iterator() : Self(0), Position(0) { }
509 iterator(LazyVector *Self, int Position) argument
510 : Self(Self), Position(Position) { }
514 return Self->Loaded.end()[Position];
515 return Self->Local[Position];
520 return &Self->Loaded.end()[Position];
522 return &Self->Local[Position];
/external/clang/include/clang/Lex/
H A DPreprocessingRecord.h383 PreprocessingRecord *Self; member in class:clang::PreprocessingRecord::iterator
406 iterator() : Self(nullptr), Position(0) { }
408 iterator(PreprocessingRecord *Self, int Position) argument
409 : Self(Self), Position(Position) { }
414 Self->LoadedPreprocessedEntities.size() + Position : Position;
415 PPEntityID ID = Self->getPPEntityID(Index, isLoaded);
416 return Self->getPreprocessedEntity(ID);
/external/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp599 SmallPtrSet<Argument*, 8> Self; local
600 Self.insert(A);
601 Attribute::AttrKind R = determinePointerReadAttrs(A, Self);
/external/clang/include/clang/Frontend/
H A DASTUnit.h463 ASTUnit &Self; member in class:clang::ASTUnit::ConcurrencyCheck
466 explicit ConcurrencyCheck(ASTUnit &Self) argument
467 : Self(Self)
469 Self.ConcurrencyCheckValue.start();
472 Self.ConcurrencyCheckValue.finish();
/external/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1585 ReturnTypesF> Self; typedef in class:clang::ast_matchers::internal::VariadicOperatorMatcherFunc::TypeTraversePolymorphicMatcher
1586 static Self create(ArrayRef<const Matcher<InnerTBase> *> InnerMatchers);
1600 struct Func : public llvm::VariadicFunction<Self, Matcher<InnerTBase>,
1601 &Self::create> {
1618 return Self(InnerMatchers);
/external/clang/lib/Sema/
H A DSemaCast.cpp51 : Self(S), SrcExpr(src), DestType(destType),
64 Sema &Self; member in struct:__anon18003::CastOperation
91 castExpr = ImplicitCastExpr::Create(Self.Context,
92 Self.Context.ARCUnbridgedCastTy,
119 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange);
123 assert(Self.getLangOpts().ObjCAutoRefCount);
126 if (Self.CheckObjCARCConversion(OpRange, DestType, src, CCK) ==
137 SrcExpr = Self.CheckPlaceholderExpr(SrcExpr.get());
145 static bool CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType,
159 static TryCastResult TryLValueToRValueCast(Sema &Self, Exp
464 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, bool CheckCVR, bool CheckObjCLifetime) argument
715 DiagnoseReinterpretUpDownCast(Sema &Self, const Expr *SrcExpr, QualType DestType, SourceRange OpRange) argument
914 TryStaticCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath, bool ListInitialization) argument
1087 TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, CastKind &Kind, CXXCastPath &BasePath, unsigned &msg) argument
1138 TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1176 TryStaticPointerDowncast(Sema &Self, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1210 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, bool CStyle, const SourceRange &OpRange, QualType OrigSrcType, QualType OrigDestType, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1325 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1437 TryStaticImplicitCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, bool ListInitialization) argument
1493 TryConstCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, unsigned &msg) argument
1660 DiagnoseCastOfObjCSEL(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
1677 checkIntToPointerCast(bool CStyle, SourceLocation Loc, const Expr *SrcExpr, QualType DestType, Sema &Self) argument
1703 TryReinterpretCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind) argument
2134 DiagnoseBadFunctionCast(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
[all...]
H A DSemaExprCXX.cpp3193 Sema &Self, SourceLocation KeyLoc, ASTContext &C,
3204 LookupResult Res(Self, NameInfo, Sema::LookupOrdinaryName);
3205 if (Self.LookupQualifiedName(Res, RD)) {
3218 CPT = Self.ResolveExceptionSpec(KeyLoc, CPT);
3228 static bool EvaluateUnaryTypeTrait(Sema &Self, TypeTrait UTT, argument
3232 ASTContext &C = Self.Context;
3305 return T.isTrivialType(Self.Context);
3307 return T.isTriviallyCopyableType(Self.Context);
3311 return T.isPODType(Self.Context);
3313 return T->isLiteralType(Self
3192 HasNoThrowOperator(const RecordType *RT, OverloadedOperatorKind Op, Sema &Self, SourceLocation KeyLoc, ASTContext &C, bool (CXXRecordDecl::*HasTrivial)() const, bool (CXXRecordDecl::*HasNonTrivial)() const, bool (CXXMethodDecl::*IsDesiredOp)() const) argument
3749 EvaluateBinaryTypeTrait(Sema &Self, TypeTrait BTT, QualType LhsT, QualType RhsT, SourceLocation KeyLoc) argument
3935 EvaluateArrayTypeTrait(Sema &Self, ArrayTypeTrait ATT, QualType T, Expr *DimExpr, SourceLocation KeyLoc) argument
4199 TryClassUnification(Sema &Self, Expr *From, Expr *To, SourceLocation QuestionLoc, bool &HaveConversion, QualType &ToType) argument
4288 FindConditionalOverload(Sema &Self, ExprResult &LHS, ExprResult &RHS, SourceLocation QuestionLoc) argument
4347 ConvertForConditional(Sema &Self, ExprResult &E, QualType T) argument
[all...]
H A DSemaChecking.cpp6527 SequencedSubexpression(SequenceChecker &Self) argument
6528 : Self(Self), OldModAsSideEffect(Self.ModAsSideEffect) {
6529 Self.ModAsSideEffect = &ModAsSideEffect;
6533 UsageInfo &U = Self.UsageMap[ModAsSideEffect[I].first];
6535 Self.addUsage(U, ModAsSideEffect[I].first,
6538 Self.ModAsSideEffect = OldModAsSideEffect;
6541 SequenceChecker &Self; member in struct:__anon18013::SequenceChecker::SequencedSubexpression
6552 EvaluationTracker(SequenceChecker &Self) argument
6570 SequenceChecker &Self; member in class:__anon18013::SequenceChecker::EvaluationTracker
[all...]
H A DSemaDeclCXX.cpp158 Proto = Self->ResolveExceptionSpec(CallLoc, Proto);
193 Proto->getNoexceptSpec(Self->Context);
215 if (ExceptionsSeen.insert(Self->Context.getCanonicalType(E)))
244 if (Self->canThrow(E))
12250 static void SearchForReturnInStmt(Sema &Self, Stmt *S) { argument
12256 Self.Diag(SubStmt->getLocStart(),
12259 SearchForReturnInStmt(Self, SubStmt);
/external/clang/include/clang/Parse/
H A DParser.h758 Parser *Self; member in class:clang::Parser::ParseScope
764 // parser Self where the new Scope is created with the flags
766 ParseScope(Parser *Self, unsigned ScopeFlags, bool EnteredScope = true, argument
768 : Self(Self) {
770 Self->EnterScope(ScopeFlags);
773 Self->incrementMSLocalManglingNumber();
775 this->Self = nullptr;
782 if (Self) {
783 Self
909 Parser *Self; member in class:clang::Parser::LateParsedClass
920 Parser *Self; member in struct:clang::Parser::LateParsedAttribute
950 Parser *Self; member in struct:clang::Parser::LexedMethod
995 Parser* Self; member in struct:clang::Parser::LateParsedMethodDeclaration
1026 Parser *Self; member in struct:clang::Parser::LateParsedMemberInitializer
[all...]
/external/clang/lib/CodeGen/
H A DCGObjC.cpp1407 VarDecl *Self = cast<ObjCMethodDecl>(CurFuncDecl)->getSelfDecl(); local
1408 DeclRefExpr DRE(Self, /*is enclosing local*/ (CurFuncDecl != CurCodeDecl),
1409 Self->getType(), VK_LValue, SourceLocation());
/external/clang/include/clang/Sema/
H A DSema.h3887 Sema *Self; member in class:clang::Sema::ImplicitExceptionSpecification
3904 explicit ImplicitExceptionSpecification(Sema &Self) argument
3905 : Self(&Self), ComputedEST(EST_BasicNoexcept) {
3906 if (!Self.getLangOpts().CPlusPlus11)
3941 EPI.NoexceptExpr = Self->ActOnCXXBoolLiteral(SourceLocation(),
6272 Sema &Self; member in class:clang::Sema::ArgumentPackSubstitutionIndexRAII
6276 ArgumentPackSubstitutionIndexRAII(Sema &Self, int NewSubstitutionIndex) argument
6277 : Self(Self), OldSubstitutionInde
[all...]

Completed in 678 milliseconds

12