dextool.clang_extensions

Members

Enums

OpKind
enum OpKind
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ValueKind
enum ValueKind
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Functions

calculate
Result calculate(CXCursor decl)

Calculate the McCabe complexity.

dex_getCaseStmt
DXCaseStmt dex_getCaseStmt(CXCursor cx)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
dex_getExprOperator
DXOperator dex_getExprOperator(CXCursor expr)

Retrieve the operator of an expression.

dex_getExprValueKind
ValueKind dex_getExprValueKind(CXCursor expr)

Retrieve the value kind of the expression.

dex_getIfStmt
DXIfStmt dex_getIfStmt(CXCursor cx)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
dex_getOperatorExprs
DXOperatorExprs dex_getOperatorExprs(CXCursor expr)

Retrieve the left and right side of an operator expression.

dex_getUnderlyingExprNode
CXCursor dex_getUnderlyingExprNode(CXCursor expr)

Get the first node after the expressions.

dex_isAnyMacro
bool dex_isAnyMacro(CXSourceLocation location)

If the location is in any type of macro.

dex_isFunctionTemplateConstExpr
bool dex_isFunctionTemplateConstExpr(CXCursor cx)

Whether this is a (C++11) constexpr template function or constexpr constructor.

dex_isInSystemMacro
bool dex_isInSystemMacro(CXSourceLocation location)

Returns whether Loc is expanded from a macro in a system header.

dex_isMacroArgExpansion
bool dex_isMacroArgExpansion(CXSourceLocation location)

Tests whether the given source location represents a macro argument's expansion into the function-like macro definition.

dex_isMacroBodyExpansion
bool dex_isMacroBodyExpansion(CXSourceLocation location)

Tests whether the given source location represents the expansion of a macro body.

dex_isPotentialConstExpr
bool dex_isPotentialConstExpr(CXCursor cx)

Whether this is a (C++11) constexpr function or constexpr constructor.

exprValueKind
ValueKind exprValueKind(CXCursor expr)

trusted: the C++ impl check that the node is an expression. It can handle any CursorKind.

getCaseStmt
CaseStmt getCaseStmt(CXCursor c)
Undocumented in source. Be warned that the author may not have intended to support it.
getExprOperator
Operator getExprOperator(CXCursor expr)
Undocumented in source. Be warned that the author may not have intended to support it.
getIfStmt
IfStmt getIfStmt(CXCursor cx)
Undocumented in source. Be warned that the author may not have intended to support it.
getUnderlyingExprNode
auto getUnderlyingExprNode(CXCursor expr)

trusted: the C++ impl check that the node is an expression. It can handle any CursorKind.

Structs

CaseStmt
struct CaseStmt
Undocumented in source.
DXCaseStmt
struct DXCaseStmt
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
DXIfStmt
struct DXIfStmt

The cursors that make up the inside of the if statement.

DXOperator
struct DXOperator

Represent the operator of an expression that contains an operator (binary or unary).

DXOperatorExprs
struct DXOperatorExprs

The sub-expressions of an operator expression.

IfStmt
struct IfStmt
Undocumented in source.
Operator
struct Operator
Undocumented in source.
OperatorSubExprs
struct OperatorSubExprs
Undocumented in source.
Result
struct Result
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This file uses the same license as the C++ source code.