Skip to content

Commit 57bc16c

Browse files
author
Zak Kent
committed
[SILGen] Emit toplevel code through emitFunctionDefinition
Emit SILDeclRefs representing entry points with SourceFile source correctly.
1 parent 3592e21 commit 57bc16c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lib/SILGen/SILGenTopLevel.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===--- SILGenTopLevel.cpp - Implements Top-level Code Emission ----------===//
2+
//
3+
// This source file is part of the Swift.org open source project
4+
//
5+
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
6+
// Licensed under Apache License v2.0 with Runtime Library Exception
7+
//
8+
// See https://swift.org/LICENSE.txt for license information
9+
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
#include "SILGenTopLevel.h"
214
#include "SILGenFunction.h"
315
#include "Scope.h"

0 commit comments

Comments
 (0)