Skip to content
  • Steve Naroff's avatar
    Bug #: · b7d4924e
    Steve Naroff authored
    Submitted by:
    Reviewed by:
    Added size expression to ArrayType. This was needed to implement
    Type::isIncompleteType(). At the moment, there is no support for
    determining if we have a constant expression (which won't be too
    difficult now that we have support for literal parsing/ast's).
    Nevertheless, the parser will allow "struct foo { int a[b]; }"
    (which is illegal). There is still significant work to fully analyze
    array types. The good news is "carbon.h" goes from 288 bogus errors
    down to 26!
    
    llvm-svn: 39355
    b7d4924e
Loading