Home
last modified time | relevance | path

Searched refs:ExprRange (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/clang/lib/ARCMigrate/
DTransUnusedInitDelegate.cpp57 SourceRange ExprRange = ME->getSourceRange(); in VisitObjCMessageExpr() local
58 Pass.TA.insert(ExprRange.getBegin(), "if (!(self = "); in VisitObjCMessageExpr()
61 Pass.TA.insertAfterToken(ExprRange.getEnd(), retStr); in VisitObjCMessageExpr()
/external/clang/lib/ARCMigrate/
DTransUnusedInitDelegate.cpp58 SourceRange ExprRange = ME->getSourceRange(); in VisitObjCMessageExpr() local
59 Pass.TA.insert(ExprRange.getBegin(), "if (!(self = "); in VisitObjCMessageExpr()
62 Pass.TA.insertAfterToken(ExprRange.getEnd(), retStr); in VisitObjCMessageExpr()
/external/rust/crates/syn/tests/
Dtest_expr.rs7 use syn::{Expr, ExprRange};
22 snapshot!(tokens as ExprRange, @r###" in test_expr_parse()
/external/rust/crates/syn/src/
Dexpr.rs183 Range(ExprRange),
620 pub struct ExprRange #full {
813 | Expr::Range(ExprRange { attrs, .. }) in replace_attrs()
1340 lhs = Expr::Range(ExprRange { in parse_expr()
2248 ExprRange, Range, "expected range expression",
2719 fn expr_range(input: ParseStream, allow_struct: AllowStruct) -> Result<ExprRange> { in expr_range() argument
2720 Ok(ExprRange { in expr_range()
3299 impl ToTokens for ExprRange { implementation
Dlib.rs352 ExprParen, ExprPath, ExprRange, ExprReference, ExprRepeat, ExprReturn, ExprStruct, ExprTry,
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp4696 ExprResult Sema::BuildAtomicExpr(SourceRange CallRange, SourceRange ExprRange, in BuildAtomicExpr() argument
4848 << ExprRange; in BuildAtomicExpr()
4854 << ExprRange; in BuildAtomicExpr()
4867 Diag(ExprRange.getBegin(), diag::err_atomic_builtin_must_be_pointer) in BuildAtomicExpr()
4877 Diag(ExprRange.getBegin(), diag::err_atomic_op_needs_atomic) in BuildAtomicExpr()
4883 Diag(ExprRange.getBegin(), diag::err_atomic_op_needs_non_const_atomic) in BuildAtomicExpr()
4891 Diag(ExprRange.getBegin(), diag::err_atomic_op_needs_non_const_pointer) in BuildAtomicExpr()
4902 Diag(ExprRange.getBegin(), diag::err_atomic_op_needs_atomic_int_or_ptr) in BuildAtomicExpr()
4907 Diag(ExprRange.getBegin(), diag::err_atomic_op_needs_atomic_int) in BuildAtomicExpr()
4919 Diag(ExprRange.getBegin(), diag::err_atomic_op_needs_atomic_int_or_ptr) in BuildAtomicExpr()
[all …]
DSemaExpr.cpp4190 SourceRange ExprRange, in CheckUnaryExprOrTypeTraitOperand() argument
4212 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange); in CheckUnaryExprOrTypeTraitOperand()
4215 if (!CheckExtensionTraitOperandType(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
4221 getTraitSpelling(ExprKind), ExprRange)) in CheckUnaryExprOrTypeTraitOperand()
4226 << getTraitSpelling(ExprKind) << ExprRange; in CheckUnaryExprOrTypeTraitOperand()
4230 if (CheckObjCTraitOperandConstraints(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
12129 CharSourceRange ExprRange = CharSourceRange::getCharRange( in diagnoseXorMisusedAsPow() local
12132 Lexer::getSourceText(ExprRange, S.getSourceManager(), S.getLangOpts()); in diagnoseXorMisusedAsPow()
12182 << FixItHint::CreateReplacement(ExprRange, "1LL << " + RHSStr); in diagnoseXorMisusedAsPow()
12192 ExprRange, (RightSideIntValue == 0) ? "1" : SuggestedExpr); in diagnoseXorMisusedAsPow()
[all …]
/external/clang/lib/Sema/
DSemaExpr.cpp3713 SourceRange ExprRange, in CheckUnaryExprOrTypeTraitOperand() argument
3734 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange); in CheckUnaryExprOrTypeTraitOperand()
3737 if (!CheckExtensionTraitOperandType(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
3743 ExprKind, ExprRange)) in CheckUnaryExprOrTypeTraitOperand()
3748 << ExprKind << ExprRange; in CheckUnaryExprOrTypeTraitOperand()
3752 if (CheckObjCTraitOperandConstraints(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
9714 SourceRange ExprRange = E->getSourceRange(); in DiagnoseConstAssignment() local
9744 << ExprRange << ConstMember << false /*static*/ << Field in DiagnoseConstAssignment()
9758 << ExprRange << ConstMember << true /*static*/ << VDecl in DiagnoseConstAssignment()
9779 S.Diag(Loc, diag::err_typecheck_assign_const) << ExprRange in DiagnoseConstAssignment()
[all …]
/external/rust/crates/syn/src/gen/
Dfold.rs212 fn fold_expr_range(&mut self, i: ExprRange) -> ExprRange { in fold_expr_range() argument
1398 pub fn fold_expr_range<F>(f: &mut F, node: ExprRange) -> ExprRange in fold_expr_range()
1402 ExprRange { in fold_expr_range()
Dclone.rs597 impl Clone for ExprRange { implementation
599 ExprRange { in clone()
Deq.rs599 impl Eq for ExprRange {} implementation
602 impl PartialEq for ExprRange { implementation
Dvisit_mut.rs215 fn visit_expr_range_mut(&mut self, i: &mut ExprRange) { in visit_expr_range_mut() argument
1585 pub fn visit_expr_range_mut<V>(v: &mut V, node: &mut ExprRange) in visit_expr_range_mut()
Dvisit.rs211 fn visit_expr_range(&mut self, i: &'ast ExprRange) { in visit_expr_range() argument
1581 pub fn visit_expr_range<'ast, V>(v: &mut V, node: &'ast ExprRange) in visit_expr_range()
Dhash.rs822 impl Hash for ExprRange { implementation
Ddebug.rs911 impl Debug for ExprRange { implementation
/external/llvm-project/clang/lib/Lex/
DPPDirectives.cpp601 Tok.getLocation(), DER.ExprRange, in SkipExcludedConditionalBlock()
3021 IfToken.getLocation(), DER.ExprRange, in HandleIfDirective()
/external/llvm-project/clang/include/clang/Lex/
DPreprocessor.h2126 SourceRange ExprRange; member
/external/llvm-project/clang/include/clang/Sema/
DSema.h5102 SourceRange ExprRange,
5244 BuildAtomicExpr(SourceRange CallRange, SourceRange ExprRange,
/external/rust/crates/syn/tests/debug/
Dgen.rs1603 impl Debug for Lite<syn::ExprRange> {
/external/clang/include/clang/Sema/
DSema.h3917 SourceRange ExprRange,