reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{}); 130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});tools/clang/include/clang/AST/APValue.h
560 ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; 584 *((UnionData*)(char*)Data.buffer)->Value = Value;tools/clang/lib/AST/APValue.cpp
280 getArrayInitializedElt(I) = RHS.getArrayInitializedElt(I); 282 getArrayFiller() = RHS.getArrayFiller(); 287 getStructBase(I) = RHS.getStructBase(I); 289 getStructField(I) = RHS.getStructField(I);tools/clang/lib/AST/Decl.cpp
2375 Eval->Evaluated = APValue();
tools/clang/lib/AST/Expr.cpp 333 APValueResult() = std::move(Value);
tools/clang/lib/AST/ExprConstant.cpp651 *Value.getPointer() = APValue(); 1444 v = APValue(FloatReal, FloatImag); 1446 v = APValue(IntReal, IntImag); 1481 V = APValue(Base, Offset, APValue::NoLValuePath(), IsNullPtr); 1484 V = APValue(Base, Offset, Designator.Entries, 1645 V = APValue(getDecl(), isDerivedMember(), Path); 2972 Result = APValue(APValue::UninitArray(), 2977 Result.getArrayFiller() = APValue(Value); 2980 Result.getArrayInitializedElt(I) = APValue(Value); 2999 NewValue.getArrayInitializedElt(I) = Array.getArrayFiller(); 3001 NewValue.getArrayFiller() = Array.getArrayFiller(); 3365 Result = Subobj; 3371 Result = APValue(Value); 3375 Result = APValue(Value); 3773 RVal = APValue(extractStringLiteralCharacter(Info, Base, CharIndex)); 3947 *Old = Subobj; 3983 if (Old) *Old = APValue(Value); 4019 if (Old) *Old = APValue(Value); 4245 Struct.getStructBase(Index) = getDefaultInitValue(I->getType()); 4250 Struct.getStructField(I->getFieldIndex()) = 4260 Array.getArrayFiller() = getDefaultInitValue(AT->getElementType()); 4295 Val = getDefaultInitValue(VD->getType()); 4305 Val = APValue(); 5592 Result = APValue(APValue::UninitStruct(), RD->getNumBases(), 5620 Result.getStructField(FieldIt->getFieldIndex()) = 5650 Result = APValue(FD); 5671 *Value = APValue(FD); 5676 *Value = getDefaultInitValue(Info.Ctx.getRecordType(CD)); 5723 Result.getStructField(FieldIt->getFieldIndex()) = 5788 Value = APValue(); 5799 Value = APValue(); 5825 Value = APValue(); 5907 Value = APValue(); 6017 *Val = APValue(APValue::UninitArray(), 0, Size.getZExtValue()); 6416 ResultVal.getStructBase(I) = *SubObj; 6441 ResultVal.getStructField(FieldIdx) = *SubObj; 6469 ArrayValue.getArrayInitializedElt(I) = std::move(*ElementValue); 6605 DestValue = std::move(*MaybeDestValue); 7484 *Value = APValue(); 7495 *Value = APValue(); 8632 *Val = APValue(); 8648 *Val = getDefaultInitValue(AllocType); 8761 Result = V; 8797 Result = APValue(APValue::UninitStruct(), CD ? CD->getNumBases() : 0, 8843 Result = APValue((const FieldDecl*)nullptr); 8850 Result = APValue(*I); 8889 Result = *Value; 8911 Result = APValue(Field); 8935 Result = APValue(APValue::UninitStruct(), CXXRD ? CXXRD->getNumBases() : 0, 9017 Result = getDefaultInitValue(T); 9089 Result = APValue(APValue::UninitStruct(), 0, 2); 9106 Result.getStructField(1) = APValue(APSInt(ArrayType->getSize())); 9129 Result = APValue(APValue::UninitStruct(), /*NumBases*/0, NumFields); 9233 Result = APValue(V.data(), V.size()); 9238 Result = V; 9273 Val = APValue(std::move(IntResult)); 9278 Val = APValue(std::move(FloatResult)); 9384 ZeroElement = APValue(Info.Ctx.MakeIntValue(0, EltTy)); 9386 ZeroElement = 9414 Result = V; 9424 Result = APValue(APValue::UninitArray(), 0, 9508 Filler = Result.getArrayFiller(); 9522 Result = APValue(APValue::UninitArray(), NumEltsToInit, NumElts); 9528 Result.getArrayInitializedElt(I) = Filler; 9530 Result.getArrayFiller() = Filler; 9571 Result = APValue(APValue::UninitArray(), Elements, Elements); 9609 *Value = APValue(APValue::UninitArray(), N, N); 9613 Value->getArrayInitializedElt(I) = Filler; 9658 Result = APValue(SI); 9670 Result = APValue(APSInt(I)); 9682 Result = APValue(Info.Ctx.MakeIntValue(Value, E->getType())); 9695 Result = V; 9812 Result = APValue(V); 11195 Result.Val = APValue(); 11274 Result = RHSResult.Val; 11313 Result = LHSVal; 11321 Result = RHSVal; 11343 Result = APValue(LHSAddrExpr, RHSAddrExpr); 13114 Result = V; 13297 Result = APValue(F); 13317 Result = Value; 13323 Result = Value; 13422 Result.Val = APValue(APSInt(L->getValue(), 14355 ArgValues[I - Args.begin()] = APValue();tools/clang/lib/AST/Interp/EvalEmitter.cpp
134 R = APValue(ActiveField, Value); 140 R = APValue(APValue::UninitStruct(), NB, NF); 174 R = APValue(APValue::UninitArray{}, NumElems, NumElems);tools/clang/lib/AST/Interp/Interp.h
42 R = V.toAPValue();
tools/clang/lib/Sema/SemaOverload.cpp364 ConstantValue = APValue(IntConstantValue); 462 ConstantValue = APValue(InitializerValue); 5582 Value = APValue(); 5600 Value = Eval.Val;tools/clang/lib/Serialization/ASTReaderStmt.cpp
546 E->APValueResult() = Record.readAPValue();