mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Serialization] Mark deserialized decls as early-attr-validated.
This should not have any observable effect, but it means the compiler won't waste time validating the attributes of deserialized declarations. Swift SVN r21499
This commit is contained in:
@@ -282,6 +282,10 @@ private:
|
||||
assert(status == getStatus() && "not enough bits for status");
|
||||
}
|
||||
|
||||
/// Creates a new AST node to represent a deserialized decl.
|
||||
template <typename T, typename ...Args>
|
||||
T *createDecl(Args &&... args);
|
||||
|
||||
/// Constructs an new module and validates it.
|
||||
ModuleFile(std::unique_ptr<llvm::MemoryBuffer> moduleInputBuffer,
|
||||
std::unique_ptr<llvm::MemoryBuffer> moduleDocInputBuffer,
|
||||
|
||||
Reference in New Issue
Block a user