Lines Matching full:vardecl
877 bool CursorVisitor::VisitVarDecl(VarDecl *D) {
3791 const VarDecl *Var = getCursorVariableRef(C).first;
3977 if (!D || !(isa<FunctionDecl>(D) || isa<VarDecl>(D)))
4156 return cxstring::createRef("VarDecl");
4613 // MyCXXClass foo; // Make sure pointing at 'foo' returns a VarDecl cursor.
4824 std::pair<const VarDecl *, SourceLocation> P = getCursorVariableRef(C);
4903 // stored in the CXCursor to determine if the VarDecl is in a DeclGroup,
4905 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) {
5036 // stored in the CXCursor to determine if the VarDecl is in a DeclGroup,
5038 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) {
5075 // stored in the CXCursor to determine if the VarDecl is in a DeclGroup,
5077 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) {
5310 if (const VarDecl *Def = cast<VarDecl>(D)->getDefinition())
5331 if (VarDecl *Def =
5333 return MakeCXCursor(cast<VarDecl>(Def)->getDescribedVarTemplate(), TU);
6768 } else if (const VarDecl *VD = dyn_cast<VarDecl>(D)) {