Searched refs:EvalData (Results 1 – 1 of 1) sorted by relevance
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 …]