[cfe-dev] Objective-C super parsing

David Chisnall csdavec at swansea.ac.uk
Sat Jun 21 09:51:44 PDT 2008

This diff fixes parsing of super in Objective-C programs to use a  
built-in decl.  I get no test failures as a result of it, however I am  
getting one test failure for a different reason.  Analysis/complex.c  
fails on FreeBSD because intptr_t is not declared.  This comes from  
stdint, which is not included by stdlib.  Adding this diff fixes it,  
but I don't know if it breaks it on other platforms:


Index: test/Analysis/complex.c
--- test/Analysis/complex.c	(revision 52575)
+++ test/Analysis/complex.c	(working copy)
@@ -1,6 +1,7 @@
  // RUN: clang -checker-simple -verify %s

  #include <stdlib.h>
+#include <stdint.h>

  int f1(int * p) {

-------------- next part --------------
A non-text attachment was scrubbed...
Name: super.diff
Type: application/octet-stream
Size: 1994 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080621/b1fda7a6/attachment.obj>
-------------- next part --------------

More information about the cfe-dev mailing list