Skip to content
Snippets Groups Projects
  • Richard Smith's avatar
    a454e263
    When a tag is declared in prototype scope in C, if we've decided that it · a454e263
    Richard Smith authored
    redeclares an existing tag but are creating a new declaration anyway (because
    it has attributes or changes the visibility of the name), don't warn that it
    won't be visible outside the current scope. That's not true.
    
    Also narrow down the set of cases where we create these extra declarations when
    building modules; previously, all tag declarations but the first in a module
    header would get this treatment if -fmodules-local-submodule-visibility. (This
    isn't a functional change, but we try to avoid creating these extra
    declarations whenever we can.)
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@257403 91177308-0d34-0410-b5e6-96231b3b80d8
    a454e263
    History
    When a tag is declared in prototype scope in C, if we've decided that it
    Richard Smith authored
    redeclares an existing tag but are creating a new declaration anyway (because
    it has attributes or changes the visibility of the name), don't warn that it
    won't be visible outside the current scope. That's not true.
    
    Also narrow down the set of cases where we create these extra declarations when
    building modules; previously, all tag declarations but the first in a module
    header would get this treatment if -fmodules-local-submodule-visibility. (This
    isn't a functional change, but we try to avoid creating these extra
    declarations whenever we can.)
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@257403 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.