Searched refs:EvalData (Results 1 – 2 of 2) sorted by relevance
49 struct EvalData { struct88 int Eval(EvalData<T>* eval_data, int current_dim, int flat_index, in Eval()193 EvalData<type> eval_data; \ in Eval()
3474 } EvalData; member3478 delete EvalData.stringVal; in ~ExprEvalResult()3498 return ((ExprEvalResult *)E)->EvalData.intVal; in clang_EvalResult_getAsInt()3505 return ((ExprEvalResult *)E)->EvalData.floatVal; in clang_EvalResult_getAsDouble()3512 return ((ExprEvalResult *)E)->EvalData.stringVal; in clang_EvalResult_getAsStr()3532 result->EvalData.intVal = ER.Val.getInt().getExtValue(); in evaluateExpr()3545 result->EvalData.floatVal = apFloat.convertToDouble(); in evaluateExpr()3567 result->EvalData.stringVal = new char[strRef.size() + 1]; in evaluateExpr()3568 strncpy((char *)result->EvalData.stringVal, strRef.c_str(), in evaluateExpr()3570 result->EvalData.stringVal[strRef.size()] = '\0'; in evaluateExpr()[all …]