| Package | Description |
|---|---|
| org.bytedeco.llvm.global |
| Modifier and Type | Method and Description |
|---|---|
static CXEvalResult |
clang.clang_Cursor_Evaluate(CXCursor C)
If cursor is a statement declaration tries to evaluate the
statement and if its variable, tries to evaluate its initializer,
into its corresponding type.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
clang.clang_EvalResult_dispose(CXEvalResult E)
Disposes the created Eval memory.
|
static double |
clang.clang_EvalResult_getAsDouble(CXEvalResult E)
Returns the evaluation result as double if the
kind is double.
|
static int |
clang.clang_EvalResult_getAsInt(CXEvalResult E)
Returns the evaluation result as integer if the
kind is Int.
|
static long |
clang.clang_EvalResult_getAsLongLong(CXEvalResult E)
Returns the evaluation result as a long long integer if the
kind is Int.
|
static BytePointer |
clang.clang_EvalResult_getAsStr(CXEvalResult E)
Returns the evaluation result as a constant string if the
kind is other than Int or float.
|
static long |
clang.clang_EvalResult_getAsUnsigned(CXEvalResult E)
Returns the evaluation result as an unsigned integer if
the kind is Int and clang_EvalResult_isUnsignedInt is non-zero.
|
static int |
clang.clang_EvalResult_getKind(CXEvalResult E)
Returns the kind of the evaluated result.
|
static int |
clang.clang_EvalResult_isUnsignedInt(CXEvalResult E)
Returns a non-zero value if the kind is Int and the evaluation
result resulted in an unsigned integer.
|
Copyright © 2025. All rights reserved.