Skip to content
Snippets Groups Projects
  • Richard Smith's avatar
    cca92270
    [modules] Add an assert for redeclarations that we never added to their redecl · cca92270
    Richard Smith authored
    chain and fix the cases where it fires.
    
     * Handle the __va_list_tag as a predefined decl. Previously we failed to merge
       sometimes it because it's not visible to name lookup. (In passing, remove
       redundant __va_list_tag typedefs that we were creating for some ABIs. These
       didn't affect the mangling or representation of the type.)
    
     * For Decls derived from Redeclarable that are not in fact redeclarable
       (implicit params, function params, ObjC type parameters), remove them from
       the list of expected redeclarable decls.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243259 91177308-0d34-0410-b5e6-96231b3b80d8
    cca92270
    History
    [modules] Add an assert for redeclarations that we never added to their redecl
    Richard Smith authored
    chain and fix the cases where it fires.
    
     * Handle the __va_list_tag as a predefined decl. Previously we failed to merge
       sometimes it because it's not visible to name lookup. (In passing, remove
       redundant __va_list_tag typedefs that we were creating for some ABIs. These
       didn't affect the mangling or representation of the type.)
    
     * For Decls derived from Redeclarable that are not in fact redeclarable
       (implicit params, function params, ObjC type parameters), remove them from
       the list of expected redeclarable decls.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243259 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.