Searched refs:Self (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCast.cpp50 : Self(S), SrcExpr(src), DestType(destType),
63 Sema &Self; member in struct:__anon3235::CastOperation
90 castExpr = ImplicitCastExpr::Create(Self.Context,
91 Self.Context.ARCUnbridgedCastTy,
95 return Self.Owned(castExpr);
118 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange);
122 assert(Self.getLangOpts().ObjCAutoRefCount);
125 if (Self.CheckObjCARCConversion(OpRange, DestType, src, CCK) ==
136 SrcExpr = Self.CheckPlaceholderExpr(SrcExpr.take());
144 static bool CastsAwayConstness(Sema &Self, QualTyp
463 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, bool CheckCVR, bool CheckObjCLifetime) argument
709 DiagnoseReinterpretUpDownCast(Sema &Self, const Expr *SrcExpr, QualType DestType, SourceRange OpRange) argument
908 TryStaticCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath, bool ListInitialization) argument
1076 TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, CastKind &Kind, CXXCastPath &BasePath, unsigned &msg) argument
1127 TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1162 TryStaticPointerDowncast(Sema &Self, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1196 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, bool CStyle, const SourceRange &OpRange, QualType OrigSrcType, QualType OrigDestType, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1311 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1422 TryStaticImplicitCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, bool ListInitialization) argument
1474 TryConstCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, unsigned &msg) argument
1644 DiagnoseCastOfObjCSEL(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
1661 checkIntToPointerCast(bool CStyle, SourceLocation Loc, const Expr *SrcExpr, QualType DestType, Sema &Self) argument
1687 TryReinterpretCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind) argument
2105 DiagnoseBadFunctionCast(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
[all...]
H A DSemaExprCXX.cpp3180 Sema &Self, SourceLocation KeyLoc, ASTContext &C,
3191 LookupResult Res(Self, NameInfo, Sema::LookupOrdinaryName);
3192 if (Self.LookupQualifiedName(Res, RD)) {
3205 CPT = Self.ResolveExceptionSpec(KeyLoc, CPT);
3206 if (!CPT || !CPT->isNothrow(Self.Context))
3215 static bool EvaluateUnaryTypeTrait(Sema &Self, UnaryTypeTrait UTT, argument
3219 ASTContext &C = Self.Context;
3291 return T.isTrivialType(Self.Context);
3293 return T.isTriviallyCopyableType(Self.Context);
3297 return T.isPODType(Self
3179 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
3731 EvaluateBinaryTypeTrait(Sema &Self, BinaryTypeTrait BTT, QualType LhsT, QualType RhsT, SourceLocation KeyLoc) argument
3943 EvaluateArrayTypeTrait(Sema &Self, ArrayTypeTrait ATT, QualType T, Expr *DimExpr, SourceLocation KeyLoc) argument
4207 TryClassUnification(Sema &Self, Expr *From, Expr *To, SourceLocation QuestionLoc, bool &HaveConversion, QualType &ToType) argument
4296 FindConditionalOverload(Sema &Self, ExprResult &LHS, ExprResult &RHS, SourceLocation QuestionLoc) argument
4354 ConvertForConditional(Sema &Self, ExprResult &E, QualType T) argument
[all...]
H A DSemaExpr.cpp2249 // turn this into Self->ivar, just return a BareIVarExpr or something.
5779 static void SuggestParentheses(Sema &Self, SourceLocation Loc, argument
5782 SourceLocation EndLoc = Self.PP.getLocForEndOfToken(ParenRange.getEnd());
5785 Self.Diag(Loc, Note)
5790 Self.Diag(Loc, Note) << ParenRange;
5865 static void DiagnoseConditionalPrecedence(Sema &Self, argument
5881 Self.Diag(OpLoc, diag::warn_precedence_conditional)
5885 SuggestParentheses(Self, OpLoc,
5886 Self.PDiag(diag::note_precedence_silence)
5890 SuggestParentheses(Self, OpLo
6949 diagnoseStringPlusInt(Sema &Self, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
6988 diagnoseStringPlusChar(Sema &Self, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9237 DiagnoseBitwisePrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9279 EmitDiagnosticForBitwiseAndInBitwiseOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument
9294 EmitDiagnosticForLogicalAndInLogicalOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument
9410 DiagnoseBinOpPrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
[all...]
H A DTreeTransform.h100 Derived &Self; member in class:clang::TreeTransform::ForgetPartiallySubstitutedPackRAII
104 ForgetPartiallySubstitutedPackRAII(Derived &Self) : Self(Self) { argument
105 Old = Self.ForgetPartiallySubstitutedPack();
109 Self.RememberPartiallySubstitutedPack(Old);
176 TreeTransform &Self; member in class:clang::TreeTransform::TemporaryBase
181 TemporaryBase(TreeTransform &Self, SourceLocation Location, argument
182 DeclarationName Entity) : Self(Self) {
3254 TreeTransform<Derived> &Self; member in class:clang::TemplateArgumentLocInventIterator
3275 TemplateArgumentLocInventIterator(TreeTransform<Derived> &Self, InputIterator Iter) argument
[all...]
H A DSemaDeclCXX.cpp159 Proto = Self->ResolveExceptionSpec(CallLoc, Proto);
194 Proto->getNoexceptSpec(Self->Context);
218 if (ExceptionsSeen.insert(Self->Context.getCanonicalType(*E)))
247 if (Self->canThrow(E))
11949 static void SearchForReturnInStmt(Sema &Self, Stmt *S) { argument
11955 Self.Diag(SubStmt->getLocStart(),
11958 SearchForReturnInStmt(Self, SubStmt);
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/
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;
110 typedef SuccIterator<Term_, BB_> Self; typedef in class:llvm::SuccIterator
136 inline const Self &operator=(const Self &I) {
146 inline bool operator==(const Self
[all...]
/freebsd-9.3-release/contrib/llvm/tools/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);
/freebsd-9.3-release/contrib/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.h506 typedef block_iterator_wrapper<IsConst> Self; typedef in class:llvm::Region::block_iterator_wrapper
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Parse/
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 DParseCXXInlineMethods.cpp242 : Self(P), Class(C) {}
245 Self->DeallocateParsedClasses(Class);
249 Self->ParseLexedMethodDeclarations(*Class);
253 Self->ParseLexedMemberInitializers(*Class);
257 Self->ParseLexedMethodDefs(*Class);
261 Self->ParseLexedMethodDeclaration(*this);
265 Self->ParseLexedMethodDef(*this);
269 Self->ParseLexedMemberInitializer(*this);
857 explicit UnannotatedTentativeParsingAction(Parser &Self, argument
859 : TentativeParsingAction(Self), Sel
883 Parser &Self; member in class:Parser::UnannotatedTentativeParsingAction
[all...]
H A DParser.cpp408 Parser::ParseScopeFlags::ParseScopeFlags(Parser *Self, unsigned ScopeFlags, argument
410 : CurScope(ManageFlags ? Self->getCurScope() : 0) {
H A DParseDecl.cpp969 Self->ParseLexedAttributes(*Class);
973 Self->ParseLexedAttribute(*this, true, false);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DExternalASTSource.h373 LazyVector *Self; member in class:clang::LazyVector::iterator
398 iterator() : Self(0), Position(0) { }
400 iterator(LazyVector *Self, int Position) argument
401 : Self(Self), Position(Position) { }
405 return Self->Loaded.end()[Position];
406 return Self->Local[Position];
411 return &Self->Loaded.end()[Position];
413 return &Self->Local[Position];
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DInheritViz.cpp139 QualType Self = Context.getTypeDeclType(this); local
144 sys::fs::createTemporaryFile(Self.getAsString(), "dot", FD, Filename);
155 Writer.WriteGraph(Self);
H A DDeclBase.cpp909 NamespaceDecl *Self = static_cast<NamespaceDecl *>(this); local
910 for (NamespaceDecl *N = Self->getMostRecentDecl(); N;
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessingRecord.h380 PreprocessingRecord *Self; member in class:clang::PreprocessingRecord::iterator
403 iterator() : Self(0), Position(0) { }
405 iterator(PreprocessingRecord *Self, int Position) argument
406 : Self(Self), Position(Position) { }
411 Self->LoadedPreprocessedEntities.size() + Position : Position;
412 PPEntityID ID = Self->getPPEntityID(Index, isLoaded);
413 return Self->getPreprocessedEntity(ID);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Frontend/
H A DASTUnit.h424 ASTUnit &Self; member in class:clang::ASTUnit::ConcurrencyCheck
427 explicit ConcurrencyCheck(ASTUnit &Self) argument
428 : Self(Self)
430 Self.ConcurrencyCheckValue.start();
433 Self.ConcurrencyCheckValue.finish();
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h680 Parser *Self; member in class:clang::Parser::ParseScope
686 // parser Self where the new Scope is created with the flags
689 ParseScope(Parser *Self, unsigned ScopeFlags, bool ManageScope = true) argument
690 : Self(Self) {
692 Self->EnterScope(ScopeFlags);
694 this->Self = 0;
700 if (Self) {
701 Self->ExitScope();
702 Self
827 Parser *Self; member in class:clang::Parser::LateParsedClass
838 Parser *Self; member in struct:clang::Parser::LateParsedAttribute
868 Parser *Self; member in struct:clang::Parser::LexedMethod
912 Parser* Self; member in struct:clang::Parser::LateParsedMethodDeclaration
943 Parser *Self; member in struct:clang::Parser::LateParsedMemberInitializer
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGObjCRuntime.h163 /// class initiated in a method for Class and with the given Self
175 llvm::Value *Self,
H A DCGObjC.cpp1403 VarDecl *Self = cast<ObjCMethodDecl>(CurFuncDecl)->getSelfDecl(); local
1404 DeclRefExpr DRE(Self, /*is enclosing local*/ (CurFuncDecl != CurCodeDecl),
1405 Self->getType(), VK_LValue, SourceLocation());
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/
H A DInstructions.h2492 typedef CaseIteratorT<SwitchInstTy, ConstantIntTy, BasicBlockTy> Self; typedef in class:llvm::SwitchInst::CaseIteratorT
2503 static Self fromSuccessorIndex(SwitchInstTy *SI, unsigned SuccessorIndex) {
2507 Self(SI, SuccessorIndex - 1) :
2508 Self(SI, DefaultPseudoIndex);
2535 Self operator++() {
2542 Self operator++(int) {
2543 Self tmp = *this;
2547 Self operator--() {
2556 Self operator--(int) {
2557 Self tm
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1579 ReturnTypesF> Self; typedef in class:clang::ast_matchers::internal::TypeTraversePolymorphicMatcher
1580 static Self create(ArrayRef<const Matcher<InnerTBase> *> InnerMatchers);
1594 struct Func : public llvm::VariadicFunction<Self, Matcher<InnerTBase>,
1595 &Self::create> {
1612 return Self(InnerMatchers);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h3749 Sema *Self; member in class:clang::Sema::ImplicitExceptionSpecification
3766 explicit ImplicitExceptionSpecification(Sema &Self) argument
3767 : Self(&Self), ComputedEST(EST_BasicNoexcept) {
3768 if (!Self.getLangOpts().CPlusPlus11)
3803 EPI.NoexceptExpr = Self->ActOnCXXBoolLiteral(SourceLocation(),
6156 Sema &Self; member in class:clang::Sema::ArgumentPackSubstitutionIndexRAII
6160 ArgumentPackSubstitutionIndexRAII(Sema &Self, int NewSubstitutionIndex) argument
6161 : Self(Self), OldSubstitutionInde
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp581 SmallPtrSet<Argument*, 8> Self; local
582 Self.insert(A);
583 Attribute::AttrKind R = determinePointerReadAttrs(A, Self);

Completed in 523 milliseconds

12