Home
last modified time | relevance | path

Searched refs:ExprLoc (Results 1 – 17 of 17) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp328 auto &ExprLoc = Env.createStorageLocation(*S); in VisitImplicitCastExpr() local
329 Env.setStorageLocation(*S, ExprLoc); in VisitImplicitCastExpr()
330 Env.setValue(ExprLoc, *SubExprVal); in VisitImplicitCastExpr()
411 auto &ExprLoc = Env.createStorageLocation(*S); in VisitUnaryOperator() local
412 Env.setStorageLocation(*S, ExprLoc); in VisitUnaryOperator()
413 Env.setValue(ExprLoc, Env.makeNot(*SubExprVal)); in VisitUnaryOperator()
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp370 SMLoc ExprLoc = getLexer().getLoc(); in parseJccInstruction() local
372 return Error(ExprLoc, "expected expression operand"); in parseJccInstruction()
377 return Error(ExprLoc, "invalid jump offset"); in parseJccInstruction()
379 Operands.push_back(MSP430Operand::CreateImm(Val, ExprLoc, in parseJccInstruction()
/openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/
H A DAsmParser.cpp2941 SMLoc ExprLoc = getTok().getLoc(); in parseAssignment() local
2970 return Error(ExprLoc, "expected identifier"); in parseAssignment()
3168 SMLoc ExprLoc = Lexer.getLoc(); in parseDirectiveReloc() local
3174 return Error(ExprLoc, "expression must be relocatable"); in parseDirectiveReloc()
3195 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveValue() local
3203 return Error(ExprLoc, "out of range literal value"); in parseDirectiveValue()
3206 getStreamer().emitValue(Value, Size, ExprLoc); in parseDirectiveValue()
3217 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta() local
3221 return Asm.Error(ExprLoc, "out of range literal value"); in parseHexOcta()
3346 SMLoc SizeLoc, ExprLoc; in parseDirectiveFill() local
[all …]
H A DMasmParser.cpp3830 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta() local
3834 return Asm.Error(ExprLoc, "out of range literal value"); in parseHexOcta()
7173 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit() local
7178 return Error(ExprLoc, "unexpected expression in _emit"); in parseDirectiveMSEmit()
7181 return Error(ExprLoc, "literal value out of range for directive"); in parseDirectiveMSEmit()
7189 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSAlign() local
7194 return Error(ExprLoc, "unexpected expression in align"); in parseDirectiveMSAlign()
7197 return Error(ExprLoc, "literal value not a power of two greater then zero"); in parseDirectiveMSAlign()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCoroutine.cpp1769 SourceLocation ExprLoc = E->getBeginLoc(); in castForMoving() local
1771 S.Context.getTrivialTypeSourceInfo(TargetType, ExprLoc); in castForMoving()
1774 .BuildCXXNamedCast(ExprLoc, tok::kw_static_cast, TargetLoc, E, in castForMoving()
1775 SourceRange(ExprLoc, ExprLoc), E->getSourceRange()) in castForMoving()
H A DSemaStmt.cpp232 SourceLocation ExprLoc = E->IgnoreParenImpCasts()->getExprLoc(); in DiagnoseUnusedExprResult() local
239 SourceMgr.isMacroBodyExpansion(ExprLoc) || in DiagnoseUnusedExprResult()
240 SourceMgr.isInSystemMacro(ExprLoc); in DiagnoseUnusedExprResult()
H A DSemaExpr.cpp19047 ValueDecl *Var, SourceLocation ExprLoc, TryCaptureKind Kind, in tryCaptureVariable() argument
19108 ExprLoc, in tryCaptureVariable()
19140 Diag(ExprLoc, diag::err_lambda_impcap) << Var; in tryCaptureVariable()
19145 diagnoseUncapturableValueReferenceOrBinding(*this, ExprLoc, Var); in tryCaptureVariable()
19220 Diag(ExprLoc, diag::err_lambda_impcap) << Var; in tryCaptureVariable()
19262 !isVariableCapturable(CSI, Var, ExprLoc, BuildAndDiagnose, *this); in tryCaptureVariable()
19270 Invalid = !captureInBlock(BSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable()
19275 RSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, DeclRefType, Nested, in tryCaptureVariable()
19281 !captureInLambda(LSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable()
H A DSemaExprCXX.cpp8315 SourceLocation ExprLoc = VarExpr->getExprLoc(); in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() local
8316 if (S.tryCaptureVariable(Var, ExprLoc, S.TryCapture_Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
8322 S.tryCaptureVariable(Var, ExprLoc, S.TryCapture_Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
H A DSemaDeclCXX.cpp4718 SourceLocation ExprLoc = E->getBeginLoc(); in CastForMoving() local
4720 TargetType, ExprLoc); in CastForMoving()
4722 return SemaRef.BuildCXXNamedCast(ExprLoc, tok::kw_static_cast, TargetLoc, E, in CastForMoving()
4723 SourceRange(ExprLoc, ExprLoc), in CastForMoving()
H A DSemaChecking.cpp13849 SourceLocation ExprLoc = E->getExprLoc(); in DiagnoseIntInBoolContext() local
13859 S.Diag(ExprLoc, diag::warn_left_shift_always) << 0; in DiagnoseIntInBoolContext()
13863 S.Diag(ExprLoc, diag::warn_left_shift_always) in DiagnoseIntInBoolContext()
13866 S.Diag(ExprLoc, diag::warn_left_shift_in_bool_context) << E; in DiagnoseIntInBoolContext()
13880 S.Diag(ExprLoc, diag::warn_integer_constants_in_conditional_always_true); in DiagnoseIntInBoolContext()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp705 SMLoc ExprLoc = L; in ParseDirectiveFalign() local
713 return Error(ExprLoc, "literal value out of range (256) for falign"); in ParseDirectiveFalign()
717 return Error(ExprLoc, "not a valid expression for falign directive"); in ParseDirectiveFalign()
1150 SMLoc ExprLoc = Lexer.getLoc(); in parseInstruction() local
1214 HexagonOperand::CreateImm(getContext(), Expr, ExprLoc, ExprLoc); in parseInstruction()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1690 SMLoc ExprLoc = getParser().getTok().getLoc(); in ParseDirectiveWord() local
1697 return Error(ExprLoc, "literal value out of range for '" + in ParseDirectiveWord()
1701 getStreamer().emitValue(Value, Size, ExprLoc); in ParseDirectiveWord()
/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DTGParser.cpp1130 SMLoc ExprLoc = Lex.getLoc(); in ParseOperation() local
1137 Error(ExprLoc, "expected string type argument in !exists operator"); in ParseOperation()
1143 Error(ExprLoc, in ParseOperation()
1151 Error(ExprLoc, "expected string type argument in !exists operator"); in ParseOperation()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp3926 SMLoc ExprLoc = getLoc(); in tryParseBarrierOperand() local
3932 Error(ExprLoc, "immediate value expected for barrier operand"); in tryParseBarrierOperand()
3944 Error(ExprLoc, "barrier operand out of range"); in tryParseBarrierOperand()
3949 ExprLoc, getContext(), in tryParseBarrierOperand()
3999 SMLoc ExprLoc = getLoc(); in tryParseBarriernXSOperand() local
4004 Error(ExprLoc, "immediate value expected for barrier operand"); in tryParseBarriernXSOperand()
4011 Error(ExprLoc, "barrier operand out of range"); in tryParseBarriernXSOperand()
4016 ExprLoc, getContext(), in tryParseBarriernXSOperand()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp11537 SourceLocation ExprLoc; in emitDeclareSimdFunction() local
11541 ExprLoc = VLENExpr->getExprLoc(); in emitDeclareSimdFunction()
11551 MangledName, 's', 128, Fn, ExprLoc); in emitDeclareSimdFunction()
11554 MangledName, 'n', 128, Fn, ExprLoc); in emitDeclareSimdFunction()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp7859 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveCPSetup() local
7863 reportParseError(ExprLoc, "expected save register or stack offset"); in parseDirectiveCPSetup()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp11717 static bool determineEndOffset(EvalInfo &Info, SourceLocation ExprLoc, in determineEndOffset() argument
11725 return HandleSizeof(Info, ExprLoc, Ty, Result); in determineEndOffset()