Home
last modified time | relevance | path

Searched refs:ExprEvalResult (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/tools/libclang/
DCIndex.cpp3825 struct ExprEvalResult { struct
3834 ~ExprEvalResult() { in ~ExprEvalResult() argument
3843 delete static_cast<ExprEvalResult *>(E); in clang_EvalResult_dispose()
3850 return ((ExprEvalResult *)E)->EvalType; in clang_EvalResult_getKind()
3861 ExprEvalResult *Result = (ExprEvalResult *)E; in clang_EvalResult_getAsLongLong()
3868 return ((ExprEvalResult *)E)->IsUnsignedInt; in clang_EvalResult_isUnsignedInt()
3876 ExprEvalResult *Result = (ExprEvalResult *)E; in clang_EvalResult_getAsUnsigned()
3886 return ((ExprEvalResult *)E)->EvalData.floatVal; in clang_EvalResult_getAsDouble()
3893 return ((ExprEvalResult *)E)->EvalData.stringVal; in clang_EvalResult_getAsStr()
3896 static const ExprEvalResult *evaluateExpr(Expr *expr, CXCursor C) { in evaluateExpr()
[all …]
/external/clang/tools/libclang/
DCIndex.cpp3468 struct ExprEvalResult { struct
3475 ~ExprEvalResult() { in ~ExprEvalResult() argument
3484 delete static_cast<ExprEvalResult *>(E); in clang_EvalResult_dispose()
3491 return ((ExprEvalResult *)E)->EvalType; in clang_EvalResult_getKind()
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()
3515 static const ExprEvalResult* evaluateExpr(Expr *expr, CXCursor C) { in evaluateExpr()
3527 auto result = llvm::make_unique<ExprEvalResult>(); in evaluateExpr()