Skip to content
  1. Aug 08, 2007
    • Chris Lattner's avatar
      now that implicit conversions are explicit, we can eliminate · 5ebb2fed
      Chris Lattner authored
      EmitExprWithUsualUnaryConversions.
      
      llvm-svn: 40929
      5ebb2fed
    • Steve Naroff's avatar
      · 773df5cf
      Steve Naroff authored
      Move the function/array conversion for ParmVarDecl's from Sema::ParseIdentifierExpr()
      to Sema::ParseParamDeclarator(). After discussing this with Chris, we decided this
      approach has more immediate benefit (though we loose some information in the AST). 
      The comment below should describe more (if interested).
      
      llvm-svn: 40907
      773df5cf
  2. Aug 07, 2007
  3. Aug 05, 2007
    • Steve Naroff's avatar
      · 04e8bc8e
      Steve Naroff authored
      Remove a space from "typeof" printing. It was causing the following error...
      
      [dylan:clang/test/Parser] admin% ../../../../Debug/bin/clang -parse-ast-check typeof.c 
      Warnings expected but not seen:
        Line 21: incompatible types assigning 'typeof(*pi) const' to 'int *'
      Warnings seen but not expected:
        Line 21: incompatible types assigning 'typeof(*pi)  const' to 'int *'
      
      Also corrected a typo from my previous commit.
      
      llvm-svn: 40832
      04e8bc8e
    • Steve Naroff's avatar
      · 8a4cf97a
      Steve Naroff authored
      Make sure the good old "function/array conversion" is done to function parameters.
      
      This resulted in the following error...
      
      [dylan:clang/test/Parser] admin% cat parmvardecl_conversion.c 
      // RUN: clang -parse-ast-check %s
      
      void f (int p[]) { p++; }
      
      [dylan:clang/test/Parser] admin% clang -parse-ast-check parmvardecl_conversion.c 
      Errors seen but not expected:
        Line 3: cannot modify value of type 'int []'
      
      With this fix, the test case above succeeds.
      
      llvm-svn: 40831
      8a4cf97a
  4. Aug 04, 2007
  5. Aug 03, 2007
  6. Aug 02, 2007
Loading