/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaCast.cpp | 50 : Self(S), SrcExpr(src), DestType(destType), 63 Sema &Self; member in struct:__anon3192::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 465 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, bool CheckCVR, bool CheckObjCLifetime) argument 688 DiagnoseReinterpretUpDownCast(Sema &Self, const Expr *SrcExpr, QualType DestType, SourceRange OpRange) argument 884 TryStaticCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath, bool ListInitialization) argument 1052 TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, CastKind &Kind, CXXCastPath &BasePath, unsigned &msg) argument 1103 TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1138 TryStaticPointerDowncast(Sema &Self, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1172 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, bool CStyle, const SourceRange &OpRange, QualType OrigSrcType, QualType OrigDestType, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1287 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument 1398 TryStaticImplicitCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, const SourceRange &OpRange, unsigned &msg, CastKind &Kind, bool ListInitialization) argument 1450 TryConstCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, unsigned &msg) argument 1588 DiagnoseCastOfObjCSEL(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument 1605 checkIntToPointerCast(bool CStyle, SourceLocation Loc, const Expr *SrcExpr, QualType DestType, Sema &Self) argument 1621 TryReinterpretCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, const SourceRange &OpRange, unsigned &msg, CastKind &Kind) argument 2037 DiagnoseBadFunctionCast(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument [all...] |
H A D | SemaExprCXX.cpp | 3015 Sema &Self, SourceLocation KeyLoc, ASTContext &C, 3026 LookupResult Res(Self, NameInfo, Sema::LookupOrdinaryName); 3027 if (Self.LookupQualifiedName(Res, RD)) { 3040 CPT = Self.ResolveExceptionSpec(KeyLoc, CPT); 3041 if (!CPT || !CPT->isNothrow(Self.Context)) 3050 static bool EvaluateUnaryTypeTrait(Sema &Self, UnaryTypeTrait UTT, argument 3054 ASTContext &C = Self.Context; 3126 return T.isTrivialType(Self.Context); 3128 return T.isTriviallyCopyableType(Self.Context); 3132 return T.isPODType(Self 3014 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 3561 EvaluateBinaryTypeTrait(Sema &Self, BinaryTypeTrait BTT, QualType LhsT, QualType RhsT, SourceLocation KeyLoc) argument 3773 EvaluateArrayTypeTrait(Sema &Self, ArrayTypeTrait ATT, QualType T, Expr *DimExpr, SourceLocation KeyLoc) argument 4037 TryClassUnification(Sema &Self, Expr *From, Expr *To, SourceLocation QuestionLoc, bool &HaveConversion, QualType &ToType) argument 4126 FindConditionalOverload(Sema &Self, ExprResult &LHS, ExprResult &RHS, SourceLocation QuestionLoc) argument 4184 ConvertForConditional(Sema &Self, ExprResult &E, QualType T) argument [all...] |
H A D | SemaExpr.cpp | 2125 // turn this into Self->ivar, just return a BareIVarExpr or something. 5513 static void SuggestParentheses(Sema &Self, SourceLocation Loc, argument 5516 SourceLocation EndLoc = Self.PP.getLocForEndOfToken(ParenRange.getEnd()); 5519 Self.Diag(Loc, Note) 5524 Self.Diag(Loc, Note) << ParenRange; 5599 static void DiagnoseConditionalPrecedence(Sema &Self, argument 5615 Self.Diag(OpLoc, diag::warn_precedence_conditional) 5619 SuggestParentheses(Self, OpLoc, 5620 Self.PDiag(diag::note_precedence_silence) 5624 SuggestParentheses(Self, OpLo 6658 diagnoseStringPlusInt(Sema &Self, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument 8815 DiagnoseBitwisePrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument 8857 EmitDiagnosticForBitwiseAndInBitwiseOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument 8872 EmitDiagnosticForLogicalAndInLogicalOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument 8988 DiagnoseBinOpPrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument [all...] |
H A D | TreeTransform.h | 99 Derived &Self; member in class:clang::TreeTransform::ForgetPartiallySubstitutedPackRAII 103 ForgetPartiallySubstitutedPackRAII(Derived &Self) : Self(Self) { argument 104 Old = Self.ForgetPartiallySubstitutedPack(); 108 Self.RememberPartiallySubstitutedPack(Old); 171 TreeTransform &Self; member in class:clang::TreeTransform::TemporaryBase 176 TemporaryBase(TreeTransform &Self, SourceLocation Location, argument 177 DeclarationName Entity) : Self(Self) { 3142 TreeTransform<Derived> &Self; member in class:clang::TemplateArgumentLocInventIterator 3163 TemplateArgumentLocInventIterator(TreeTransform<Derived> &Self, InputIterator Iter) argument [all...] |
H A D | SemaDeclCXX.cpp | 157 Proto = Self->ResolveExceptionSpec(CallLoc, Proto); 192 Proto->getNoexceptSpec(Self->Context); 216 if (ExceptionsSeen.insert(Self->Context.getCanonicalType(*E))) 245 if (Self->canThrow(E)) 11426 static void SearchForReturnInStmt(Sema &Self, Stmt *S) { argument 11432 Self.Diag(SubStmt->getLocStart(), 11435 SearchForReturnInStmt(Self, SubStmt);
|
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/ |
H A D | CFG.h | 33 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-10.0-release/contrib/llvm/tools/clang/include/clang/Serialization/ |
H A D | ContinuousRangeMap.h | 110 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-10.0-release/contrib/llvm/include/llvm/Analysis/ |
H A D | RegionIterator.h | 87 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 D | RegionInfo.h | 506 typedef block_iterator_wrapper<IsConst> Self; typedef in class:llvm::Region::block_iterator_wrapper
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Parse/ |
H A D | RAIIObjectsForParser.h | 344 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 D | ParseCXXInlineMethods.cpp | 244 : Self(P), Class(C) {} 247 Self->DeallocateParsedClasses(Class); 251 Self->ParseLexedMethodDeclarations(*Class); 255 Self->ParseLexedMemberInitializers(*Class); 259 Self->ParseLexedMethodDefs(*Class); 263 Self->ParseLexedMethodDeclaration(*this); 267 Self->ParseLexedMethodDef(*this); 271 Self->ParseLexedMemberInitializer(*this);
|
H A D | Parser.cpp | 383 Parser::ParseScopeFlags::ParseScopeFlags(Parser *Self, unsigned ScopeFlags, argument 385 : CurScope(ManageFlags ? Self->getCurScope() : 0) {
|
H A D | ParseDecl.cpp | 977 Self->ParseLexedAttributes(*Class); 981 Self->ParseLexedAttribute(*this, true, false);
|
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | ExternalASTSource.h | 368 LazyVector *Self; member in class:clang::LazyVector::iterator 393 iterator() : Self(0), Position(0) { } 395 iterator(LazyVector *Self, int Position) argument 396 : Self(Self), Position(Position) { } 400 return Self->Loaded.end()[Position]; 401 return Self->Local[Position]; 406 return &Self->Loaded.end()[Position]; 408 return &Self->Local[Position];
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | InheritViz.cpp | 137 QualType Self = Context.getTypeDeclType(this); local 144 Filename.appendComponent(Self.getAsString() + ".dot"); 156 Writer.WriteGraph(Self);
|
H A D | DeclBase.cpp | 904 NamespaceDecl *Self = static_cast<NamespaceDecl *>(this); local 905 for (NamespaceDecl *N = Self->getMostRecentDecl(); N;
|
H A D | ASTContext.cpp | 6246 ASTContext &Self = const_cast<ASTContext &>(*this); local 6248 SubstTemplateTemplateParmPackStorage::Profile(ID, Self, Param, ArgPack);
|
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Lex/ |
H A D | PreprocessingRecord.h | 380 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-10.0-release/contrib/llvm/tools/clang/include/clang/Frontend/ |
H A D | ASTUnit.h | 423 ASTUnit &Self; member in class:clang::ASTUnit::ConcurrencyCheck 426 explicit ConcurrencyCheck(ASTUnit &Self) argument 427 : Self(Self) 429 Self.ConcurrencyCheckValue.start(); 432 Self.ConcurrencyCheckValue.finish();
|
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Parse/ |
H A D | Parser.h | 662 Parser *Self; member in class:clang::Parser::ParseScope 668 // parser Self where the new Scope is created with the flags 671 ParseScope(Parser *Self, unsigned ScopeFlags, bool ManageScope = true) argument 672 : Self(Self) { 674 Self->EnterScope(ScopeFlags); 676 this->Self = 0; 682 if (Self) { 683 Self->ExitScope(); 684 Self 796 Parser *Self; member in class:clang::Parser::LateParsedClass 807 Parser *Self; member in struct:clang::Parser::LateParsedAttribute 837 Parser *Self; member in struct:clang::Parser::LexedMethod 881 Parser* Self; member in struct:clang::Parser::LateParsedMethodDeclaration 912 Parser *Self; member in struct:clang::Parser::LateParsedMemberInitializer [all...] |
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGObjCRuntime.h | 163 /// class initiated in a method for Class and with the given Self 175 llvm::Value *Self,
|
H A D | CGObjC.cpp | 1404 VarDecl *Self = cast<ObjCMethodDecl>(CurFuncDecl)->getSelfDecl(); local 1405 DeclRefExpr DRE(Self, /*is enclosing local*/ (CurFuncDecl != CurCodeDecl), 1406 Self->getType(), VK_LValue, SourceLocation());
|
/freebsd-10.0-release/contrib/llvm/include/llvm/IR/ |
H A D | Instructions.h | 2677 SubsetsItTy, BasicBlockTy> Self; typedef in class:llvm::SwitchInst::CaseIteratorT 2689 static Self fromSuccessorIndex(SwitchInstTy *SI, unsigned SuccessorIndex) { 2693 Self(SI, SuccessorIndex - 1) : 2694 Self(SI, DefaultPseudoIndex); 2732 Self operator++() { 2743 Self operator++(int) { 2744 Self tmp = *this; 2748 Self operator--() { 2766 Self operator--(int) { 2767 Self tm [all...] |
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | Sema.h | 3566 Sema *Self; member in class:clang::Sema::ImplicitExceptionSpecification 3583 explicit ImplicitExceptionSpecification(Sema &Self) argument 3584 : Self(&Self), ComputedEST(EST_BasicNoexcept) { 3585 if (!Self.getLangOpts().CPlusPlus11) 3620 EPI.NoexceptExpr = Self->ActOnCXXBoolLiteral(SourceLocation(), 5882 Sema &Self; member in class:clang::Sema::ArgumentPackSubstitutionIndexRAII 5886 ArgumentPackSubstitutionIndexRAII(Sema &Self, int NewSubstitutionIndex) argument 5887 : Self(Self), OldSubstitutionInde [all...] |