Skip to content
  • John McCall's avatar
    Although we currently have explicit lvalue-to-rvalue conversions, they're · 34376a68
    John McCall authored
    not actually frequently used, because ImpCastExprToType only creates a node
    if the types differ.  So explicitly create an ICE in the lvalue-to-rvalue
    conversion code in DefaultFunctionArrayLvalueConversion() as well as several
    other new places, and consistently deal with the consequences throughout the
    compiler.
    
    In addition, introduce a new cast kind for loading an ObjCProperty l-value,
    and make sure we emit those nodes whenever an ObjCProperty l-value appears
    that's not on the LHS of an assignment operator.
    
    This breaks a couple of rewriter tests, which I've x-failed until future
    development occurs on the rewriter.
    
    Ted Kremenek kindly contributed the analyzer workarounds in this patch.
    
    llvm-svn: 120890
    34376a68
Loading