Distinguish betweeen simple names ("foo") and zero-argument compound names ("foo()").

This isn't actually used yet, but it's an important distinction.

Swift SVN r16326
This commit is contained in:
Doug Gregor
2014-04-14 20:05:34 +00:00
parent 75e5ae9e9b
commit 18bf604360
7 changed files with 44 additions and 24 deletions

View File

@@ -40,7 +40,7 @@ const uint16_t VERSION_MAJOR = 0;
/// Serialized module format minor version number.
///
/// When the format changes IN ANY WAY, this number should be incremented.
const uint16_t VERSION_MINOR = 55;
const uint16_t VERSION_MINOR = 56;
using DeclID = Fixnum<31>;
using DeclIDField = BCFixed<31>;
@@ -701,6 +701,7 @@ namespace decls_block {
DeclIDField, // operator decl
DeclIDField, // overridden function
DeclIDField, // AccessorStorageDecl
BCFixed<1>, // name is compound?
BCArray<IdentifierIDField> // name components
// The record is trailed by:
// - its asmname, if any