Code generation (missing external access and source locations).

This commit is contained in:
chriseth
2016-03-30 02:37:00 +02:00
parent 949b00ed59
commit f049430723
22 changed files with 866 additions and 108 deletions
+11
View File
@@ -110,6 +110,17 @@ struct StatementAnnotation: ASTAnnotation, DocumentedAnnotation
{
};
namespace assembly
{
struct Identifier; // forward
}
struct InlineAssemblyAnnotation: StatementAnnotation
{
/// Mapping containing resolved references to external identifiers.
std::map<assembly::Identifier const*, Declaration const*> externalReferences;
};
struct ReturnAnnotation: StatementAnnotation
{
/// Reference to the return parameters of the function.