Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp367 SMLoc ExprLoc = getLexer().getLoc(); in parseJccInstruction() local
369 return Error(ExprLoc, "expected expression operand"); in parseJccInstruction()
374 return Error(ExprLoc, "invalid jump offset"); in parseJccInstruction()
376 Operands.push_back(MSP430Operand::CreateImm(Val, ExprLoc, in parseJccInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DAsmParser.cpp3130 SMLoc ExprLoc = Lexer.getLoc(); in parseDirectiveReloc() local
3136 return Error(ExprLoc, "expression must be relocatable"); in parseDirectiveReloc()
3157 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveValue() local
3165 return Error(ExprLoc, "out of range literal value"); in parseDirectiveValue()
3168 getStreamer().emitValue(Value, Size, ExprLoc); in parseDirectiveValue()
3179 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta() local
3183 return Asm.Error(ExprLoc, "out of range literal value"); in parseHexOcta()
3307 SMLoc SizeLoc, ExprLoc; in parseDirectiveFill() local
3314 ExprLoc = getTok().getLoc(); in parseDirectiveFill()
3332 Warning(ExprLoc, "'.fill' directive pattern has been truncated to 32-bits"); in parseDirectiveFill()
[all …]
H A DMasmParser.cpp3595 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta() local
3599 return Asm.Error(ExprLoc, "out of range literal value"); in parseHexOcta()
6839 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit() local
6844 return Error(ExprLoc, "unexpected expression in _emit"); in parseDirectiveMSEmit()
6847 return Error(ExprLoc, "literal value out of range for directive"); in parseDirectiveMSEmit()
6855 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSAlign() local
6860 return Error(ExprLoc, "unexpected expression in align"); in parseDirectiveMSAlign()
6863 return Error(ExprLoc, "literal value not a power of two greater then zero"); in parseDirectiveMSAlign()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCoroutine.cpp1634 SourceLocation ExprLoc = E->getBeginLoc(); in castForMoving() local
1636 S.Context.getTrivialTypeSourceInfo(TargetType, ExprLoc); in castForMoving()
1639 .BuildCXXNamedCast(ExprLoc, tok::kw_static_cast, TargetLoc, E, in castForMoving()
1640 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.cpp17653 VarDecl *Var, SourceLocation ExprLoc, TryCaptureKind Kind, in tryCaptureVariable() argument
17706 ExprLoc, in tryCaptureVariable()
17738 Diag(ExprLoc, diag::err_lambda_impcap) << Var; in tryCaptureVariable()
17743 diagnoseUncapturableValueReference(*this, ExprLoc, Var, DC); in tryCaptureVariable()
17818 Diag(ExprLoc, diag::err_lambda_impcap) << Var; in tryCaptureVariable()
17860 !isVariableCapturable(CSI, Var, ExprLoc, BuildAndDiagnose, *this); in tryCaptureVariable()
17868 Invalid = !captureInBlock(BSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable()
17873 RSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, DeclRefType, Nested, in tryCaptureVariable()
17879 !captureInLambda(LSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable()
H A DSemaExprCXX.cpp7959 SourceLocation ExprLoc = VarExpr->getExprLoc(); in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() local
7960 if (S.tryCaptureVariable(Var, ExprLoc, S.TryCapture_Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
7966 S.tryCaptureVariable(Var, ExprLoc, S.TryCapture_Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
H A DSemaDeclCXX.cpp4597 SourceLocation ExprLoc = E->getBeginLoc(); in CastForMoving() local
4599 TargetType, ExprLoc); in CastForMoving()
4601 return SemaRef.BuildCXXNamedCast(ExprLoc, tok::kw_static_cast, TargetLoc, E, in CastForMoving()
4602 SourceRange(ExprLoc, ExprLoc), in CastForMoving()
H A DSemaChecking.cpp12205 SourceLocation ExprLoc = E->getExprLoc(); in DiagnoseIntInBoolContext() local
12215 S.Diag(ExprLoc, diag::warn_left_shift_always) << 0; in DiagnoseIntInBoolContext()
12219 S.Diag(ExprLoc, diag::warn_left_shift_always) in DiagnoseIntInBoolContext()
12222 S.Diag(ExprLoc, diag::warn_left_shift_in_bool_context) << E; in DiagnoseIntInBoolContext()
12236 S.Diag(ExprLoc, diag::warn_integer_constants_in_conditional_always_true); in DiagnoseIntInBoolContext()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp707 SMLoc ExprLoc = L; in ParseDirectiveFalign() local
715 return Error(ExprLoc, "literal value out of range (256) for falign"); in ParseDirectiveFalign()
719 return Error(ExprLoc, "not a valid expression for falign directive"); in ParseDirectiveFalign()
1151 SMLoc ExprLoc = Lexer.getLoc(); in parseInstruction() local
1215 HexagonOperand::CreateImm(getContext(), Expr, ExprLoc, ExprLoc); in parseInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1594 SMLoc ExprLoc = getParser().getTok().getLoc(); in ParseDirectiveWord() local
1601 return Error(ExprLoc, "literal value out of range for '" + in ParseDirectiveWord()
1605 getStreamer().emitValue(Value, Size, ExprLoc); in ParseDirectiveWord()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp3081 SMLoc ExprLoc = getLoc(); in tryParseBarrierOperand() local
3087 Error(ExprLoc, "immediate value expected for barrier operand"); in tryParseBarrierOperand()
3099 Error(ExprLoc, "barrier operand out of range"); in tryParseBarrierOperand()
3104 ExprLoc, getContext(), in tryParseBarrierOperand()
3155 SMLoc ExprLoc = getLoc(); in tryParseBarriernXSOperand() local
3160 Error(ExprLoc, "immediate value expected for barrier operand"); in tryParseBarriernXSOperand()
3167 Error(ExprLoc, "barrier operand out of range"); in tryParseBarriernXSOperand()
3172 ExprLoc, getContext(), in tryParseBarriernXSOperand()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp11777 SourceLocation ExprLoc; in emitDeclareSimdFunction() local
11781 ExprLoc = VLENExpr->getExprLoc(); in emitDeclareSimdFunction()
11791 MangledName, 's', 128, Fn, ExprLoc); in emitDeclareSimdFunction()
11794 MangledName, 'n', 128, Fn, ExprLoc); in emitDeclareSimdFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp7801 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveCPSetup() local
7805 reportParseError(ExprLoc, "expected save register or stack offset"); in parseDirectiveCPSetup()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp11329 static bool determineEndOffset(EvalInfo &Info, SourceLocation ExprLoc, in determineEndOffset() argument
11337 return HandleSizeof(Info, ExprLoc, Ty, Result); in determineEndOffset()