Skip to content
  • Douglas Gregor's avatar
    Don't generate any code for an explicit call to a trivial destructor. · d94105a1
    Douglas Gregor authored
    Now that parsing, semantic analysis, and (I think) code generation of
    pseudo-destructor expressions and explicit destructor calls works,
    update the example-dynarray.cpp test to destroy the objects it
    allocates and update the test to actually compile + link.
    The code seems correct, but the Clang-compiled version dies with a
    malloc error. Time to debug!
    
    llvm-svn: 81025
    d94105a1
Loading