Skip to content
Merged
5 changes: 4 additions & 1 deletion plugins/cpp/parser/src/clangastvisitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,10 @@ class ClangASTVisitor : public clang::RecursiveASTVisitor<ClangASTVisitor>
: namedCallee->getNameAsString();
astNode->location = getFileLoc(ce_->getBeginLoc(), ce_->getEndLoc());
astNode->entityHash = util::fnvHash(usr);
astNode->symbolType = model::CppAstNode::SymbolType::Function;
astNode->symbolType
= funcCallee
? model::CppAstNode::SymbolType::Function
: model::CppAstNode::SymbolType::FunctionPtr;
astNode->astType
= isVirtualCall(ce_)
? model::CppAstNode::AstType::VirtualCall
Expand Down
Loading