Skip to content
  • Steve Naroff's avatar
    Fix issues with C "tentative" definitions. · 5bb8f226
    Steve Naroff authored
    - Move checking from MergeVarDecl->FinializeDeclaratorGroup. Since MergeVarDecl is called before the initializer is attacted, it can't be done there (this removes a long standing FIXME).
    - Add Sema::isTentativeDefinition() and Sema::CheckForFileScopedRedefinitions().
    - Remove FIXME's and touch-up test case.
    
    Still some more work to do (forthcoming)...
    
    llvm-svn: 54533
    5bb8f226
Loading