Skip to content
  • Steve Naroff's avatar
    Bug #: · 6fbf0dcb
    Steve Naroff authored
    Submitted by:
    Reviewed by:
    carbon.h looking good! Only 1 warning left...no parse errors!
    
    This fixes 3 bugs...
    - A couple tricky bugs with type canonicalization. Nested typedef's  weren't being
    handled properly. For example, the following didn't work:
    
    typdef int __darwin_pid_t;
    typedef __darwin_pid_t pid_t;
    
    int getpgid(pid_t);
    int getpgid(int);
    
    - The storage class wasn't being preserved. As a result, Sema was complaining
    about the  following:
    
    extern char *foo;
    char *foo;
    
    - various built-ins weren't registered...resulting in spurious warnings.
    
    llvm-svn: 39357
    6fbf0dcb
Loading