comparison dmd/template.h @ 527:cecfee2d01a8

Added support for overloaded intrinsics. Added atomic intrinsics in the intrinsics.di header.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Wed, 20 Aug 2008 01:02:22 +0200
parents aaade6ded589
children d4e95db0e62b
comparison
equal deleted inserted replaced
526:642f6fa854e5 527:cecfee2d01a8
12 #define DMD_TEMPLATE_H 12 #define DMD_TEMPLATE_H
13 13
14 #ifdef __DMC__ 14 #ifdef __DMC__
15 #pragma once 15 #pragma once
16 #endif /* __DMC__ */ 16 #endif /* __DMC__ */
17
18 #include <string>
17 19
18 #include "root.h" 20 #include "root.h"
19 #include "arraytypes.h" 21 #include "arraytypes.h"
20 #include "dsymbol.h" 22 #include "dsymbol.h"
21 #include "mtype.h" 23 #include "mtype.h"
81 83
82 TemplateDeclaration *isTemplateDeclaration() { return this; } 84 TemplateDeclaration *isTemplateDeclaration() { return this; }
83 85
84 TemplateTupleParameter *isVariadic(); 86 TemplateTupleParameter *isVariadic();
85 int isOverloadable(); 87 int isOverloadable();
88
89 // LLVMDC
90 std::string intrinsicName;
86 }; 91 };
87 92
88 struct TemplateParameter 93 struct TemplateParameter
89 { 94 {
90 /* For type-parameter: 95 /* For type-parameter: