We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d5535a commit 6917b4aCopy full SHA for 6917b4a
clang/tools/libclang/CIndex.cpp
@@ -3571,12 +3571,13 @@ static const ExprEvalResult* evaluateExpr(Expr *expr, CXCursor C) {
3571
rettype = callExpr->getCallReturnType(ctx);
3572
3573
if (rettype->isVectorType() || callExpr->getNumArgs() > 1) {
3574
+ clang_EvalResult_dispose((CXEvalResult *)result);
3575
return nullptr;
3576
}
3577
if (rettype->isIntegralType(ctx) || rettype->isRealFloatingType()) {
3578
if(callExpr->getNumArgs() == 1 &&
- !callExpr->getArg(0)->getType()->isIntegralType(ctx)){
3579
-
+ !callExpr->getArg(0)->getType()->isIntegralType(ctx)) {
3580
3581
3582
3583
} else if(rettype.getAsString() == "CFStringRef") {
0 commit comments