comparison dmd/declaration.h @ 639:8aebdf56c455

Move check for access of context for nested class from backend into frontend.
author Christian Kamm <kamm incasoftware de>
date Thu, 02 Oct 2008 23:12:19 +0200
parents 45a67b6f1310
children 6aaa3d3c1183
comparison
equal deleted inserted replaced
638:94b01f15814f 639:8aebdf56c455
634 int cvMember(unsigned char *p); 634 int cvMember(unsigned char *p);
635 635
636 FuncDeclaration *isFuncDeclaration() { return this; } 636 FuncDeclaration *isFuncDeclaration() { return this; }
637 637
638 // llvmdc stuff 638 // llvmdc stuff
639
640 // vars declared in this function that nested funcs reference
641 // is this is not empty, nestedFrameRef is set and these VarDecls
642 // probably have nestedref set too, see VarDeclaration::checkNestedReference
639 std::set<VarDeclaration*> nestedVars; 643 std::set<VarDeclaration*> nestedVars;
644
640 std::string intrinsicName; 645 std::string intrinsicName;
641 646
642 bool isIntrinsic(); 647 bool isIntrinsic();
643 bool isVaIntrinsic(); 648 bool isVaIntrinsic();
644 649