[PATCH] [Sema] Re-land "Make FunctionType's TSI use unadjusted argument types"

Reid Kleckner rnk at google.com
Tue Jun 11 12:02:17 PDT 2013


This was originaly r183614 which was reverted in r183616.

The fix here was to change InitializeParameter() to use
ASTContext::getSignatureParameterType() to avoid errors when trying to
initialize array parameters with normal pointers.

I had to change some objc tests which were getting extra qualifiers in
diagnostics, but they looked coincidental, not intentional.

http://llvm-reviews.chandlerc.com/D957

Files:
  include/clang/Sema/Initialization.h
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaType.cpp
  test/Index/print-type.c
  test/Index/print-type.cpp
  test/Sema/function-redecl.c
  test/Sema/function.c
  test/SemaObjC/objc-literal-nsnumber.m
  test/SemaObjCXX/arc-type-conversion.mm
  test/SemaObjCXX/literals.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D957.1.patch
Type: text/x-patch
Size: 10351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130611/8a518ec1/attachment.bin>


More information about the cfe-commits mailing list