diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-03-26 04:27:10 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-03-26 04:27:10 +0000 |
commit | 8a3d24dcf82fa19e822a95f51679af2a7a65d580 (patch) | |
tree | cceaede49e2b59136797277372e2c832e9b8f74e /clang/include | |
parent | 65ebb4ac8a7119a16e5a00b075e5b382fd4e434c (diff) | |
download | bcm5719-llvm-8a3d24dcf82fa19e822a95f51679af2a7a65d580.tar.gz bcm5719-llvm-8a3d24dcf82fa19e822a95f51679af2a7a65d580.zip |
[Modules] Delete a bunch of complex code for ensuring visible decls in
updated decl contexts get emitted.
Since this code was added, we have newer vastly simpler code for
handling this. The code I'm removing was very expensive and also
generated unstable order of declarations which made module outputs
non-deterministic.
All of the tests continue to pass for me and I'm able to check the
difference between the .pcm files after merging modules together.
llvm-svn: 233251
Diffstat (limited to 'clang/include')
-rw-r--r-- | clang/include/clang/Serialization/ASTWriter.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/include/clang/Serialization/ASTWriter.h b/clang/include/clang/Serialization/ASTWriter.h index 068815ee90f..6720141fb91 100644 --- a/clang/include/clang/Serialization/ASTWriter.h +++ b/clang/include/clang/Serialization/ASTWriter.h @@ -509,9 +509,6 @@ private: bool isLookupResultExternal(StoredDeclsList &Result, DeclContext *DC); bool isLookupResultEntirelyExternal(StoredDeclsList &Result, DeclContext *DC); - template<typename Visitor> - void visitLocalLookupResults(const DeclContext *DC, Visitor AddLookupResult); - uint32_t GenerateNameLookupTable(const DeclContext *DC, llvm::SmallVectorImpl<char> &LookupTable); uint64_t WriteDeclContextLexicalBlock(ASTContext &Context, DeclContext *DC); @@ -737,9 +734,6 @@ public: /// \brief Add a version tuple to the given record void AddVersionTuple(const VersionTuple &Version, RecordDataImpl &Record); - /// \brief Mark a declaration context as needing an update. - void AddUpdatedDeclContext(const DeclContext *DC); - void RewriteDecl(const Decl *D) { DeclsToRewrite.insert(D); } |