Searched defs:OpLoc (Results 1 - 19 of 19) sorted by relevance

/external/clang/lib/Lex/
H A DPPExpressions.cpp492 SourceLocation OpLoc = PeekTok.getLocation(); local
553 PP.Diag(OpLoc, diag::warn_pp_convert_lhs_to_positive)
558 PP.Diag(OpLoc, diag::warn_pp_convert_rhs_to_positive)
574 PP.Diag(OpLoc, diag::err_pp_remainder_by_zero)
586 PP.Diag(OpLoc, diag::err_pp_division_by_zero)
676 PP.Diag(OpLoc, diag::ext_pp_comma_expr)
685 PP.Diag(OpLoc, diag::note_matching) << tok::question;
718 PP.Diag(OpLoc, diag::err_pp_colon_without_question)
725 PP.Diag(OpLoc, diag::warn_pp_expr_overflow)
/external/clang/lib/Parse/
H A DParseOpenMP.cpp550 SourceLocation OpLoc = P.ConsumeToken(); local
551 SourceLocation SymbolLocations[] = {OpLoc, OpLoc, SourceLocation()};
552 ReductionId.setOperatorFunctionId(OpLoc, OOK, SymbolLocations);
H A DParseExpr.cpp1361 SourceLocation OpLoc = ConsumeToken(); // Eat the "." or "->" token. local
1372 Diag(OpLoc, diag::err_function_is_not_record)
1374 << FixItHint::CreateRemoval(OpLoc);
1379 OpLoc, OpKind, ObjectType,
1394 OpLoc, OpKind == tok::arrow); local
1401 LHS = ParseCXXPseudoDestructor(LHS.get(), OpLoc, OpKind, SS,
1435 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.get(), OpLoc,
H A DParseExprCXX.cpp1214 SourceLocation OpLoc = ConsumeToken(); local
1253 Result = Actions.ActOnCXXNamedCast(OpLoc, Kind,
1271 SourceLocation OpLoc = ConsumeToken(); local
1307 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true,
1321 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false,
1337 SourceLocation OpLoc = ConsumeToken(); local
1355 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), /*isType=*/true,
1368 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(),
1392 Parser::ParseCXXPseudoDestructor(ExprArg Base, SourceLocation OpLoc, argument
1432 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc,
[all...]
H A DParseObjc.cpp2099 SourceLocation OpLoc = ConsumeToken(); local
2119 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.get());
/external/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp788 /// \param OpLoc The location of the "sizeof" keyword.
793 SourceLocation OpLoc,
835 MarkAnyDeclReferenced(OpLoc, ParameterPack, true);
837 return new (Context) SizeOfPackExpr(Context.getSizeType(), OpLoc,
792 ActOnSizeofParameterPackExpr(Scope *S, SourceLocation OpLoc, IdentifierInfo &Name, SourceLocation NameLoc, SourceLocation RParenLoc) argument
H A DSemaAccess.cpp1684 Sema::AccessResult Sema::CheckAllocationAccess(SourceLocation OpLoc, argument
1700 return CheckAccess(*this, OpLoc, Entity);
1720 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, argument
1737 return CheckAccess(*this, OpLoc, Entity);
H A DSemaCast.cpp216 Sema::ActOnCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, argument
233 return BuildCXXNamedCast(OpLoc, Kind, TInfo, E,
239 Sema::BuildCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, argument
252 Op.OpRange = SourceRange(OpLoc, Parens.getEnd());
266 OpLoc, Parens.getEnd(),
278 OpLoc, Parens.getEnd(),
289 nullptr, DestTInfo, OpLoc,
303 OpLoc, Parens.getEnd(),
H A DSemaExprMember.cpp290 SourceLocation OpLoc, const IdentifierInfo *CompName,
343 S.Diag(OpLoc, diag::err_ext_vector_component_name_illegal)
358 S.Diag(OpLoc, diag::err_ext_vector_component_exceeds_length)
443 bool IsArrow, SourceLocation OpLoc,
463 Diag(OpLoc, diag::err_typecheck_member_reference_struct_union)
476 Context, BaseExpr, BaseType, IsArrow, OpLoc,
594 SourceLocation OpLoc, CXXScopeSpec &SS,
598 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0),
675 SourceLocation OpLoc, CXXScopeSpec &SS,
680 SourceLocation OpLoc, boo
289 CheckExtVectorComponent(Sema &S, QualType baseType, ExprValueKind &VK, SourceLocation OpLoc, const IdentifierInfo *CompName, SourceLocation CompLoc) argument
442 ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
592 LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, SourceRange BaseRange, const RecordType *RTy, SourceLocation OpLoc, CXXScopeSpec &SS, bool HasTemplateArgs) argument
679 BuildMemberReferenceExpr(Expr *Base, QualType BaseType, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs, ActOnMemberAccessExtraArgs *ExtraArgs) argument
883 BuildMemberReferenceExpr(Expr *BaseExpr, QualType BaseExprType, SourceLocation OpLoc, bool IsArrow, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs, bool SuppressQualifierCheck, ActOnMemberAccessExtraArgs *ExtraArgs) argument
1179 LookupMemberExpr(Sema &S, LookupResult &R, ExprResult &BaseExpr, bool &IsArrow, SourceLocation OpLoc, CXXScopeSpec &SS, Decl *ObjCImpDecl, bool HasTemplateArgs) argument
1597 ActOnMemberAccessExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &Id, Decl *ObjCImpDecl, bool HasTrailingLParen) argument
[all...]
H A DSemaCodeComplete.cpp3528 SourceLocation OpLoc,
3527 CodeCompleteMemberReferenceExpr(Scope *S, Expr *Base, SourceLocation OpLoc, bool IsArrow) argument
H A DSemaExprCXX.cpp443 Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc, argument
447 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid));
461 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid));
465 return ExprError(Diag(OpLoc, diag::err_no_typeid_with_fno_rtti));
479 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc);
481 return BuildCXXTypeId(TypeInfoType, OpLoc, TInfo, RParenLoc);
485 return BuildCXXTypeId(TypeInfoType, OpLoc, (Expr*)TyOrExpr, RParenLoc);
530 Sema::ActOnCXXUuidof(SourceLocation OpLoc, SourceLocation LParenLoc, argument
539 return ExprError(Diag(OpLoc, diag::err_need_header_before_ms_uuidof));
553 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc);
564 ActOnCXXBoolLiteral(SourceLocation OpLoc, tok::TokenKind Kind) argument
579 ActOnCXXThrow(Scope *S, SourceLocation OpLoc, Expr *Ex) argument
615 BuildCXXThrow(SourceLocation OpLoc, Expr *Ex, bool IsThrownVarInScope) argument
5163 ActOnStartCXXMemberReference(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, ParsedType &ObjectType, bool &MayBePseudoDestructor) argument
5313 CheckArrow(Sema& S, QualType& ObjectType, Expr *&Base, tok::TokenKind& OpKind, SourceLocation OpLoc) argument
5346 BuildPseudoDestructorExpr(Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, const CXXScopeSpec &SS, TypeSourceInfo *ScopeTypeInfo, SourceLocation CCLoc, SourceLocation TildeLoc, PseudoDestructorTypeStorage Destructed, bool HasTrailingLParen) argument
5448 ActOnPseudoDestructorExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, CXXScopeSpec &SS, UnqualifiedId &FirstTypeName, SourceLocation CCLoc, SourceLocation TildeLoc, UnqualifiedId &SecondTypeName, bool HasTrailingLParen) argument
5586 ActOnPseudoDestructorExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, SourceLocation TildeLoc, const DeclSpec& DS, bool HasTrailingLParen) argument
[all...]
H A DSemaExprObjC.cpp1559 Expr *BaseExpr, SourceLocation OpLoc,
1674 return HandleExprPropertyRefExpr(OPT, BaseExpr, OpLoc,
1692 << FixItHint::CreateReplacement(OpLoc, "->");
1738 SourceLocation()/*OpLoc*/,
1558 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, Expr *BaseExpr, SourceLocation OpLoc, DeclarationName MemberName, SourceLocation MemberLoc, SourceLocation SuperLoc, QualType SuperType, bool Super) argument
H A DSemaOverload.cpp6399 SourceLocation OpLoc,
6421 RequireCompleteType(OpLoc, T1, 0);
6426 LookupResult Operators(*this, OpName, OpLoc, LookupOrdinaryName);
7952 SourceLocation OpLoc,
7970 OpLoc,
9160 SourceLocation OpLoc,
9169 S.Diag(OpLoc, diag::note_ovl_builtin_unary_candidate) << TypeStr;
9174 S.Diag(OpLoc, diag::note_ovl_builtin_binary_candidate) << TypeStr;
9178 void NoteAmbiguousUserConversions(Sema &S, SourceLocation OpLoc, argument
9186 ICS.DiagnoseAmbiguousConversion(S, OpLoc,
6398 AddMemberOperatorCandidates(OverloadedOperatorKind Op, SourceLocation OpLoc, ArrayRef<Expr *> Args, OverloadCandidateSet& CandidateSet, SourceRange OpRange) argument
7951 AddBuiltinOperatorCandidates(OverloadedOperatorKind Op, SourceLocation OpLoc, ArrayRef<Expr *> Args, OverloadCandidateSet &CandidateSet) argument
9158 NoteBuiltinOperatorCandidate(Sema &S, StringRef Opc, SourceLocation OpLoc, OverloadCandidate *Cand) argument
9443 NoteCandidates(Sema &S, OverloadCandidateDisplayKind OCD, ArrayRef<Expr *> Args, StringRef Opc, SourceLocation OpLoc) argument
10398 DiagnoseTwoPhaseOperatorLookup(Sema &SemaRef, OverloadedOperatorKind Op, SourceLocation OpLoc, ArrayRef<Expr *> Args) argument
10685 CreateOverloadedUnaryOp(SourceLocation OpLoc, unsigned OpcIn, const UnresolvedSetImpl &Fns, Expr *Input) argument
10873 CreateOverloadedBinOp(SourceLocation OpLoc, unsigned OpcIn, const UnresolvedSetImpl &Fns, Expr *LHS, Expr *RHS) argument
11845 BuildOverloadedArrowExpr(Scope *S, Expr *Base, SourceLocation OpLoc, bool *NoArrowOperatorFound) argument
[all...]
H A DTreeTransform.h1711 ExprResult RebuildUnaryOperator(SourceLocation OpLoc, argument
1714 return getSema().BuildUnaryOp(/*Scope=*/nullptr, OpLoc, Opc, SubExpr);
1736 SourceLocation OpLoc,
1739 return getSema().CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, R);
1747 ExprResult RebuildUnaryExprOrTypeTrait(Expr *SubExpr, SourceLocation OpLoc, argument
1751 = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind);
1787 ExprResult RebuildMemberExpr(Expr *Base, SourceLocation OpLoc, argument
1834 return getSema().BuildMemberReferenceExpr(Base, BaseType, OpLoc, isArrow,
1844 ExprResult RebuildBinaryOperator(SourceLocation OpLoc, argument
1847 return getSema().BuildBinOp(/*Scope=*/nullptr, OpLoc, Op
1735 RebuildUnaryExprOrTypeTrait(TypeSourceInfo *TInfo, SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, SourceRange R) argument
1891 RebuildExtVectorElementExpr(Expr *Base, SourceLocation OpLoc, SourceLocation AccessorLoc, IdentifierInfo &Accessor) argument
2041 RebuildCXXNamedCastExpr(SourceLocation OpLoc, Stmt::StmtClass Class, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
2080 RebuildCXXStaticCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
2097 RebuildCXXDynamicCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
2114 RebuildCXXReinterpretCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
2131 RebuildCXXConstCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
2623 RebuildObjCIsaExpr(Expr *BaseArg, SourceLocation IsaLoc, SourceLocation OpLoc, bool IsArrow) argument
10037 RebuildCXXOperatorCallExpr(OverloadedOperatorKind Op, SourceLocation OpLoc, Expr *OrigCallee, Expr *First, Expr *Second) argument
[all...]
H A DSemaExpr.cpp3492 SourceLocation OpLoc,
3514 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange);
3517 if (!CheckExtensionTraitOperandType(*this, ExprType, OpLoc, ExprRange,
3521 if (RequireCompleteType(OpLoc, ExprType,
3527 Diag(OpLoc, diag::err_sizeof_alignof_function_type)
3532 if (CheckObjCTraitOperandConstraints(*this, ExprType, OpLoc, ExprRange,
3609 SourceLocation OpLoc,
3618 CheckUnaryExprOrTypeTraitOperand(T, OpLoc, R, ExprKind))
3623 ExprKind, TInfo, Context.getSizeType(), OpLoc, R.getEnd());
3629 Sema::CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc, argument
3491 CheckUnaryExprOrTypeTraitOperand(QualType ExprType, SourceLocation OpLoc, SourceRange ExprRange, UnaryExprOrTypeTrait ExprKind) argument
3608 CreateUnaryExprOrTypeTraitExpr(TypeSourceInfo *TInfo, SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, SourceRange R) argument
3670 ActOnUnaryExprOrTypeTraitExpr(SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, bool IsType, void *TyOrEx, const SourceRange &ArgRange) argument
3724 ActOnPostfixUnaryOp(Scope *S, SourceLocation OpLoc, tok::TokenKind Kind, Expr *Input) argument
6035 DiagnoseConditionalPrecedence(Sema &Self, SourceLocation OpLoc, Expr *Condition, Expr *LHSExpr, Expr *RHSExpr) argument
7155 diagnoseStringPlusInt(Sema &Self, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
7194 diagnoseStringPlusChar(Sema &Self, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
8755 CheckIncrementDecrementOperand(Sema &S, Expr *Op, ExprValueKind &VK, SourceLocation OpLoc, bool IsInc, bool IsPrefix) argument
8912 CheckAddressOfOperand(ExprResult &OrigOp, SourceLocation OpLoc) argument
9108 CheckIndirectionOperand(Sema &S, Expr *Op, ExprValueKind &VK, SourceLocation OpLoc) argument
9231 DiagnoseSelfAssignment(Sema &S, Expr *LHSExpr, Expr *RHSExpr, SourceLocation OpLoc) argument
9264 checkObjCPointerIntrospection(Sema &S, ExprResult &L, ExprResult &R, SourceLocation OpLoc) argument
9308 CreateBuiltinBinOp(SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr) argument
9481 DiagnoseBitwisePrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9523 EmitDiagnosticForBitwiseAndInBitwiseOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument
9538 EmitDiagnosticForLogicalAndInLogicalOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument
9566 DiagnoseLogicalAndInLogicalOrLHS(Sema &S, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9588 DiagnoseLogicalAndInLogicalOrRHS(Sema &S, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9603 DiagnoseBitwiseAndInBitwiseOr(Sema &S, SourceLocation OpLoc, Expr *OrArg) argument
9611 DiagnoseAdditionInShift(Sema &S, SourceLocation OpLoc, Expr *SubExpr, StringRef Shift) argument
9625 DiagnoseShiftCompare(Sema &S, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9654 DiagnoseBinOpPrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9702 BuildOverloadedBinOp(Sema &S, Scope *Sc, SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHS, Expr *RHS) argument
9721 BuildBinOp(Scope *S, SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr) argument
9799 CreateBuiltinUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc, Expr *InputExpr) argument
10002 BuildUnaryOp(Scope *S, SourceLocation OpLoc, UnaryOperatorKind Opc, Expr *Input) argument
10050 ActOnUnaryOp(Scope *S, SourceLocation OpLoc, tok::TokenKind Op, Expr *Input) argument
10056 ActOnAddrLabel(SourceLocation OpLoc, SourceLocation LabLoc, LabelDecl *TheDecl) argument
13505 ActOnObjCBoolLiteral(SourceLocation OpLoc, tok::TokenKind Kind) argument
[all...]
/external/clang/include/clang/AST/
H A DExprObjC.h469 /// OpLoc - This is the location of '.' or '->'
470 SourceLocation OpLoc; member in class:clang::ObjCIvarRefExpr
485 D(d), Base(base), Loc(l), OpLoc(oploc),
512 SourceLocation getOpLoc() const { return OpLoc; }
513 void setOpLoc(SourceLocation L) { OpLoc = L; }
1398 /// OpLoc - This is the location of '.' or '->'
1399 SourceLocation OpLoc;
1410 Base(base), IsaMemberLoc(l), OpLoc(oploc), IsArrow(isarrow) {}
1426 SourceLocation getOpLoc() const { return OpLoc; }
1427 void setOpLoc(SourceLocation L) { OpLoc
[all...]
H A DExpr.h1968 SourceLocation OpLoc, RParenLoc;
1980 OpLoc(op), RParenLoc(rp) {
1995 OpLoc(op), RParenLoc(rp) {
2041 SourceLocation getOperatorLoc() const { return OpLoc; }
2042 void setOperatorLoc(SourceLocation L) { OpLoc = L; }
2047 SourceLocation getLocStart() const LLVM_READONLY { return OpLoc; }
2924 SourceLocation OpLoc; member in class:clang::StringLiteral::OffsetOfExpr::BinaryOperator
2940 Opc(opc), FPContractable(fpContractable), OpLoc(opLoc) {
2951 SourceLocation getExprLoc() const LLVM_READONLY { return OpLoc; }
2952 SourceLocation getOperatorLoc() const { return OpLoc; }
3108 CompoundAssignOperator(Expr *lhs, Expr *rhs, Opcode opc, QualType ResType, ExprValueKind VK, ExprObjectKind OK, QualType CompLHSType, QualType CompResultType, SourceLocation OpLoc, bool fpContractable) argument
[all...]
/external/llvm/lib/TableGen/
H A DTGParser.cpp914 SMLoc OpLoc = Lex.getLoc(); local
970 Error(OpLoc, "expected a list");
990 Error(OpLoc, "expected two operands to operator");
/external/clang/include/clang/Sema/
H A DDeclSpec.h974 /// \param OpLoc the location of the 'operator' keyword.
977 void setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, argument
981 StartLocation = OpLoc;

Completed in 677 milliseconds