Mercurial > projects > ldc
comparison dmd/declaration.h @ 443:44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Reworked the LLVMDC specific pragmas.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Fri, 01 Aug 2008 00:32:06 +0200 |
parents | d8234836b40f |
children | cc40db549aea |
comparison
equal
deleted
inserted
replaced
442:76078c8ab5b9 | 443:44f08170f4ef |
---|---|
15 #pragma once | 15 #pragma once |
16 #endif /* __DMC__ */ | 16 #endif /* __DMC__ */ |
17 | 17 |
18 #include <set> | 18 #include <set> |
19 #include <map> | 19 #include <map> |
20 #include <string> | |
20 | 21 |
21 #include "dsymbol.h" | 22 #include "dsymbol.h" |
22 #include "lexer.h" | 23 #include "lexer.h" |
23 #include "mtype.h" | 24 #include "mtype.h" |
24 | 25 |
637 | 638 |
638 FuncDeclaration *isFuncDeclaration() { return this; } | 639 FuncDeclaration *isFuncDeclaration() { return this; } |
639 | 640 |
640 // llvmdc stuff | 641 // llvmdc stuff |
641 std::set<VarDeclaration*> nestedVars; | 642 std::set<VarDeclaration*> nestedVars; |
643 std::string intrinsicName; | |
642 | 644 |
643 // we keep our own table of label statements as LabelDsymbolS | 645 // we keep our own table of label statements as LabelDsymbolS |
644 // don't always carry their corresponding statement along ... | 646 // don't always carry their corresponding statement along ... |
645 typedef std::map<const char*, LabelStatement*> LabelMap; | 647 typedef std::map<const char*, LabelStatement*> LabelMap; |
646 LabelMap labmap; | 648 LabelMap labmap; |