Skip to content
  • Sean Callanan's avatar
    Introduced support for UnknownAnyTy, the Clang type · 77502265
    Sean Callanan authored
    representing variables whose type must be inferred
    from the way they are used.  Functions without debug
    information now return UnknownAnyTy and must be cast.
    
    Variables with no debug information are not yet using
    UnknownAnyTy; instead they are assumed to be void*.
    Support for variables of unknown type is coming (and,
    in fact, some relevant support functions are included
    in this commit) but will take a bit of extra effort.
    
    The testsuite has also been updated to reflect the new
    requirement that the result of printf be cast, i.e.
    
    expr (int) printf("Hello world!")
    
    llvm-svn: 131263
    77502265
Loading