|
@@ -540,7 +540,7 @@ public:
|
|
RecordDecl *MSVCGuidDecl;
|
|
RecordDecl *MSVCGuidDecl;
|
|
|
|
|
|
/// \brief Caches identifiers/selectors for NSFoundation APIs.
|
|
/// \brief Caches identifiers/selectors for NSFoundation APIs.
|
|
- llvm::OwningPtr<NSAPI> NSAPIObj;
|
|
|
|
|
|
+ OwningPtr<NSAPI> NSAPIObj;
|
|
|
|
|
|
/// \brief The declaration of the Objective-C NSNumber class.
|
|
/// \brief The declaration of the Objective-C NSNumber class.
|
|
ObjCInterfaceDecl *NSNumberDecl;
|
|
ObjCInterfaceDecl *NSNumberDecl;
|
|
@@ -630,7 +630,7 @@ public:
|
|
|
|
|
|
/// \brief The lambdas that are present within this context, if it
|
|
/// \brief The lambdas that are present within this context, if it
|
|
/// is indeed an unevaluated context.
|
|
/// is indeed an unevaluated context.
|
|
- llvm::SmallVector<LambdaExpr *, 2> Lambdas;
|
|
|
|
|
|
+ SmallVector<LambdaExpr *, 2> Lambdas;
|
|
|
|
|
|
/// \brief The declaration that provides context for the lambda expression
|
|
/// \brief The declaration that provides context for the lambda expression
|
|
/// if the normal declaration context does not suffice, e.g., in a
|
|
/// if the normal declaration context does not suffice, e.g., in a
|
|
@@ -646,11 +646,11 @@ public:
|
|
|
|
|
|
/// \brief If we are processing a decltype type, a set of call expressions
|
|
/// \brief If we are processing a decltype type, a set of call expressions
|
|
/// for which we have deferred checking the completeness of the return type.
|
|
/// for which we have deferred checking the completeness of the return type.
|
|
- llvm::SmallVector<CallExpr*, 8> DelayedDecltypeCalls;
|
|
|
|
|
|
+ SmallVector<CallExpr *, 8> DelayedDecltypeCalls;
|
|
|
|
|
|
/// \brief If we are processing a decltype type, a set of temporary binding
|
|
/// \brief If we are processing a decltype type, a set of temporary binding
|
|
/// expressions for which we have deferred checking the destructor.
|
|
/// expressions for which we have deferred checking the destructor.
|
|
- llvm::SmallVector<CXXBindTemporaryExpr*, 8> DelayedDecltypeBinds;
|
|
|
|
|
|
+ SmallVector<CXXBindTemporaryExpr *, 8> DelayedDecltypeBinds;
|
|
|
|
|
|
ExpressionEvaluationContextRecord(ExpressionEvaluationContext Context,
|
|
ExpressionEvaluationContextRecord(ExpressionEvaluationContext Context,
|
|
unsigned NumCleanupObjects,
|
|
unsigned NumCleanupObjects,
|
|
@@ -1554,7 +1554,7 @@ public:
|
|
|
|
|
|
// This is used for both record definitions and ObjC interface declarations.
|
|
// This is used for both record definitions and ObjC interface declarations.
|
|
void ActOnFields(Scope* S, SourceLocation RecLoc, Decl *TagDecl,
|
|
void ActOnFields(Scope* S, SourceLocation RecLoc, Decl *TagDecl,
|
|
- llvm::ArrayRef<Decl *> Fields,
|
|
|
|
|
|
+ ArrayRef<Decl *> Fields,
|
|
SourceLocation LBrac, SourceLocation RBrac,
|
|
SourceLocation LBrac, SourceLocation RBrac,
|
|
AttributeList *AttrList);
|
|
AttributeList *AttrList);
|
|
|
|
|
|
@@ -1899,13 +1899,13 @@ public:
|
|
|
|
|
|
void AddOverloadCandidate(FunctionDecl *Function,
|
|
void AddOverloadCandidate(FunctionDecl *Function,
|
|
DeclAccessPair FoundDecl,
|
|
DeclAccessPair FoundDecl,
|
|
- llvm::ArrayRef<Expr *> Args,
|
|
|
|
|
|
+ ArrayRef<Expr *> Args,
|
|
OverloadCandidateSet& CandidateSet,
|
|
OverloadCandidateSet& CandidateSet,
|
|
bool SuppressUserConversions = false,
|
|
bool SuppressUserConversions = false,
|
|
bool PartialOverloading = false,
|
|
bool PartialOverloading = false,
|
|
bool AllowExplicit = false);
|
|
bool AllowExplicit = false);
|
|
void AddFunctionCandidates(const UnresolvedSetImpl &Functions,
|
|
void AddFunctionCandidates(const UnresolvedSetImpl &Functions,
|
|
- llvm::ArrayRef<Expr *> Args,
|
|
|
|
|
|
+ ArrayRef<Expr *> Args,
|
|
OverloadCandidateSet& CandidateSet,
|
|
OverloadCandidateSet& CandidateSet,
|
|
bool SuppressUserConversions = false,
|
|
bool SuppressUserConversions = false,
|
|
TemplateArgumentListInfo *ExplicitTemplateArgs = 0);
|
|
TemplateArgumentListInfo *ExplicitTemplateArgs = 0);
|
|
@@ -1919,7 +1919,7 @@ public:
|
|
DeclAccessPair FoundDecl,
|
|
DeclAccessPair FoundDecl,
|
|
CXXRecordDecl *ActingContext, QualType ObjectType,
|
|
CXXRecordDecl *ActingContext, QualType ObjectType,
|
|
Expr::Classification ObjectClassification,
|
|
Expr::Classification ObjectClassification,
|
|
- llvm::ArrayRef<Expr *> Args,
|
|
|
|
|
|
+ ArrayRef<Expr *> Args,
|
|
OverloadCandidateSet& CandidateSet,
|
|
OverloadCandidateSet& CandidateSet,
|
|
bool SuppressUserConversions = false);
|
|
bool SuppressUserConversions = false);
|
|
void AddMethodTemplateCandidate(FunctionTemplateDecl *MethodTmpl,
|
|
void AddMethodTemplateCandidate(FunctionTemplateDecl *MethodTmpl,
|
|
@@ -1928,13 +1928,13 @@ public:
|
|
TemplateArgumentListInfo *ExplicitTemplateArgs,
|
|
TemplateArgumentListInfo *ExplicitTemplateArgs,
|
|
QualType ObjectType,
|
|
QualType ObjectType,
|
|
Expr::Classification ObjectClassification,
|
|
Expr::Classification ObjectClassification,
|
|
- llvm::ArrayRef<Expr *> Args,
|
|
|
|
|
|
+ ArrayRef<Expr *> Args,
|
|
OverloadCandidateSet& CandidateSet,
|
|
OverloadCandidateSet& CandidateSet,
|
|
bool SuppressUserConversions = false);
|
|
bool SuppressUserConversions = false);
|
|
void AddTemplateOverloadCandidate(FunctionTemplateDecl *FunctionTemplate,
|
|
void AddTemplateOverloadCandidate(FunctionTemplateDecl *FunctionTemplate,
|
|
DeclAccessPair FoundDecl,
|
|
DeclAccessPair FoundDecl,
|
|
TemplateArgumentListInfo *ExplicitTemplateArgs,
|
|
TemplateArgumentListInfo *ExplicitTemplateArgs,
|
|
- llvm::ArrayRef<Expr *> Args,
|
|
|
|
|
|
+ ArrayRef<Expr *> Args,
|
|
OverloadCandidateSet& CandidateSet,
|
|
OverloadCandidateSet& CandidateSet,
|
|
bool SuppressUserConversions = false);
|
|
bool SuppressUserConversions = false);
|
|
void AddConversionCandidate(CXXConversionDecl *Conversion,
|
|
void AddConversionCandidate(CXXConversionDecl *Conversion,
|
|
@@ -1951,7 +1951,7 @@ public:
|
|
DeclAccessPair FoundDecl,
|
|
DeclAccessPair FoundDecl,
|
|
CXXRecordDecl *ActingContext,
|
|
CXXRecordDecl *ActingContext,
|
|
const FunctionProtoType *Proto,
|
|
const FunctionProtoType *Proto,
|
|
- Expr *Object, llvm::ArrayRef<Expr*> Args,
|
|
|
|
|
|
+ Expr *Object, ArrayRef<Expr *> Args,
|
|
OverloadCandidateSet& CandidateSet);
|
|
OverloadCandidateSet& CandidateSet);
|
|
void AddMemberOperatorCandidates(OverloadedOperatorKind Op,
|
|
void AddMemberOperatorCandidates(OverloadedOperatorKind Op,
|
|
SourceLocation OpLoc,
|
|
SourceLocation OpLoc,
|
|
@@ -1969,7 +1969,7 @@ public:
|
|
OverloadCandidateSet& CandidateSet);
|
|
OverloadCandidateSet& CandidateSet);
|
|
void AddArgumentDependentLookupCandidates(DeclarationName Name,
|
|
void AddArgumentDependentLookupCandidates(DeclarationName Name,
|
|
bool Operator, SourceLocation Loc,
|
|
bool Operator, SourceLocation Loc,
|
|
- llvm::ArrayRef<Expr *> Args,
|
|
|
|
|
|
+ ArrayRef<Expr *> Args,
|
|
TemplateArgumentListInfo *ExplicitTemplateArgs,
|
|
TemplateArgumentListInfo *ExplicitTemplateArgs,
|
|
OverloadCandidateSet& CandidateSet,
|
|
OverloadCandidateSet& CandidateSet,
|
|
bool PartialOverloading = false);
|
|
bool PartialOverloading = false);
|
|
@@ -2017,7 +2017,7 @@ public:
|
|
FunctionDecl *Fn);
|
|
FunctionDecl *Fn);
|
|
|
|
|
|
void AddOverloadedCallCandidates(UnresolvedLookupExpr *ULE,
|
|
void AddOverloadedCallCandidates(UnresolvedLookupExpr *ULE,
|
|
- llvm::ArrayRef<Expr *> Args,
|
|
|
|
|
|
+ ArrayRef<Expr *> Args,
|
|
OverloadCandidateSet &CandidateSet,
|
|
OverloadCandidateSet &CandidateSet,
|
|
bool PartialOverloading = false);
|
|
bool PartialOverloading = false);
|
|
|
|
|
|
@@ -2264,7 +2264,7 @@ public:
|
|
|
|
|
|
void ArgumentDependentLookup(DeclarationName Name, bool Operator,
|
|
void ArgumentDependentLookup(DeclarationName Name, bool Operator,
|
|
SourceLocation Loc,
|
|
SourceLocation Loc,
|
|
- llvm::ArrayRef<Expr *> Args,
|
|
|
|
|
|
+ ArrayRef<Expr *> Args,
|
|
ADLResult &Functions);
|
|
ADLResult &Functions);
|
|
|
|
|
|
void LookupVisibleDecls(Scope *S, LookupNameKind Kind,
|
|
void LookupVisibleDecls(Scope *S, LookupNameKind Kind,
|
|
@@ -2283,7 +2283,7 @@ public:
|
|
const ObjCObjectPointerType *OPT = 0);
|
|
const ObjCObjectPointerType *OPT = 0);
|
|
|
|
|
|
void FindAssociatedClassesAndNamespaces(SourceLocation InstantiationLoc,
|
|
void FindAssociatedClassesAndNamespaces(SourceLocation InstantiationLoc,
|
|
- llvm::ArrayRef<Expr *> Args,
|
|
|
|
|
|
+ ArrayRef<Expr *> Args,
|
|
AssociatedNamespaceSet &AssociatedNamespaces,
|
|
AssociatedNamespaceSet &AssociatedNamespaces,
|
|
AssociatedClassSet &AssociatedClasses);
|
|
AssociatedClassSet &AssociatedClasses);
|
|
|
|
|
|
@@ -2920,7 +2920,7 @@ public:
|
|
bool DiagnoseEmptyLookup(Scope *S, CXXScopeSpec &SS, LookupResult &R,
|
|
bool DiagnoseEmptyLookup(Scope *S, CXXScopeSpec &SS, LookupResult &R,
|
|
CorrectionCandidateCallback &CCC,
|
|
CorrectionCandidateCallback &CCC,
|
|
TemplateArgumentListInfo *ExplicitTemplateArgs = 0,
|
|
TemplateArgumentListInfo *ExplicitTemplateArgs = 0,
|
|
- llvm::ArrayRef<Expr *> Args = llvm::ArrayRef<Expr *>());
|
|
|
|
|
|
+ ArrayRef<Expr *> Args = ArrayRef<Expr *>());
|
|
|
|
|
|
ExprResult LookupInObjCMethod(LookupResult &LookUp, Scope *S,
|
|
ExprResult LookupInObjCMethod(LookupResult &LookUp, Scope *S,
|
|
IdentifierInfo *II,
|
|
IdentifierInfo *II,
|
|
@@ -3525,7 +3525,7 @@ public:
|
|
ArrayRef<ParsedType> DynamicExceptions,
|
|
ArrayRef<ParsedType> DynamicExceptions,
|
|
ArrayRef<SourceRange> DynamicExceptionRanges,
|
|
ArrayRef<SourceRange> DynamicExceptionRanges,
|
|
Expr *NoexceptExpr,
|
|
Expr *NoexceptExpr,
|
|
- llvm::SmallVectorImpl<QualType> &Exceptions,
|
|
|
|
|
|
+ SmallVectorImpl<QualType> &Exceptions,
|
|
FunctionProtoType::ExtProtoInfo &EPI);
|
|
FunctionProtoType::ExtProtoInfo &EPI);
|
|
|
|
|
|
/// \brief Determine if a special member function should have a deleted
|
|
/// \brief Determine if a special member function should have a deleted
|
|
@@ -4141,7 +4141,7 @@ public:
|
|
SourceRange IntroducerRange,
|
|
SourceRange IntroducerRange,
|
|
TypeSourceInfo *MethodType,
|
|
TypeSourceInfo *MethodType,
|
|
SourceLocation EndLoc,
|
|
SourceLocation EndLoc,
|
|
- llvm::ArrayRef<ParmVarDecl *> Params);
|
|
|
|
|
|
+ ArrayRef<ParmVarDecl *> Params);
|
|
|
|
|
|
/// \brief Introduce the scope for a lambda expression.
|
|
/// \brief Introduce the scope for a lambda expression.
|
|
sema::LambdaScopeInfo *enterLambdaScope(CXXMethodDecl *CallOperator,
|
|
sema::LambdaScopeInfo *enterLambdaScope(CXXMethodDecl *CallOperator,
|
|
@@ -5344,7 +5344,7 @@ public:
|
|
/// must be set.
|
|
/// must be set.
|
|
bool CheckParameterPacksForExpansion(SourceLocation EllipsisLoc,
|
|
bool CheckParameterPacksForExpansion(SourceLocation EllipsisLoc,
|
|
SourceRange PatternRange,
|
|
SourceRange PatternRange,
|
|
- llvm::ArrayRef<UnexpandedParameterPack> Unexpanded,
|
|
|
|
|
|
+ ArrayRef<UnexpandedParameterPack> Unexpanded,
|
|
const MultiLevelTemplateArgumentList &TemplateArgs,
|
|
const MultiLevelTemplateArgumentList &TemplateArgs,
|
|
bool &ShouldExpand,
|
|
bool &ShouldExpand,
|
|
bool &RetainExpansion,
|
|
bool &RetainExpansion,
|
|
@@ -5469,7 +5469,7 @@ public:
|
|
TemplateDeductionResult
|
|
TemplateDeductionResult
|
|
DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate,
|
|
DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate,
|
|
TemplateArgumentListInfo *ExplicitTemplateArgs,
|
|
TemplateArgumentListInfo *ExplicitTemplateArgs,
|
|
- llvm::ArrayRef<Expr *> Args,
|
|
|
|
|
|
+ ArrayRef<Expr *> Args,
|
|
FunctionDecl *&Specialization,
|
|
FunctionDecl *&Specialization,
|
|
sema::TemplateDeductionInfo &Info);
|
|
sema::TemplateDeductionInfo &Info);
|
|
|
|
|
|
@@ -7086,7 +7086,7 @@ public:
|
|
void CodeCompleteTag(Scope *S, unsigned TagSpec);
|
|
void CodeCompleteTag(Scope *S, unsigned TagSpec);
|
|
void CodeCompleteTypeQualifiers(DeclSpec &DS);
|
|
void CodeCompleteTypeQualifiers(DeclSpec &DS);
|
|
void CodeCompleteCase(Scope *S);
|
|
void CodeCompleteCase(Scope *S);
|
|
- void CodeCompleteCall(Scope *S, Expr *Fn, llvm::ArrayRef<Expr *> Args);
|
|
|
|
|
|
+ void CodeCompleteCall(Scope *S, Expr *Fn, ArrayRef<Expr *> Args);
|
|
void CodeCompleteInitializer(Scope *S, Decl *D);
|
|
void CodeCompleteInitializer(Scope *S, Decl *D);
|
|
void CodeCompleteReturn(Scope *S);
|
|
void CodeCompleteReturn(Scope *S);
|
|
void CodeCompleteAfterIf(Scope *S);
|
|
void CodeCompleteAfterIf(Scope *S);
|