Skip to content
Snippets Groups Projects
  • Richard Smith's avatar
    31766913
    [modules] Deserialize CXXCtorInitializer list for a constructor lazily. · 31766913
    Richard Smith authored
    Previously we'd deserialize the list of mem-initializers for a constructor when
    we deserialized the declaration of the constructor. That could trigger a
    significant amount of unnecessary work (pulling in all base classes
    recursively, for a start) and was causing problems for the modules buildbot due
    to cyclic deserializations. We now deserialize these on demand.
    
    This creates a certain amount of duplication with the handling of
    CXXBaseSpecifiers; I'll look into reducing that next.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233052 91177308-0d34-0410-b5e6-96231b3b80d8
    31766913
    History
    [modules] Deserialize CXXCtorInitializer list for a constructor lazily.
    Richard Smith authored
    Previously we'd deserialize the list of mem-initializers for a constructor when
    we deserialized the declaration of the constructor. That could trigger a
    significant amount of unnecessary work (pulling in all base classes
    recursively, for a start) and was causing problems for the modules buildbot due
    to cyclic deserializations. We now deserialize these on demand.
    
    This creates a certain amount of duplication with the handling of
    CXXBaseSpecifiers; I'll look into reducing that next.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233052 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.