- Apr 13, 2009
-
-
Douglas Gregor authored
deterministic when faced with an ambiguity. This eliminates the annoying test/SemaCXX/using-directive.cpp failure. llvm-svn: 68952
-
Dan Gohman authored
llvm-svn: 68951
-
Dan Gohman authored
llvm-svn: 68950
-
Dan Gohman authored
and IMPLICIT_DEF. llvm-svn: 68949
-
Dan Gohman authored
This unbreaks the JIT on x86-64. llvm-svn: 68948
-
Rafael Espindola authored
llvm-svn: 68947
-
Sanjiv Gupta authored
While passing arg of types larger than char only one byte at lower end was getting passed. We couldn't catch this as we did not have tests that were passing an int value larger than 256. llvm-svn: 68946
-
Nick Lewycky authored
llvm-svn: 68945
-
Nick Lewycky authored
declarations. llvm-svn: 68944
-
Chris Lattner authored
llvm-svn: 68943
-
Chris Lattner authored
llvm-svn: 68942
-
-
Chris Lattner authored
to support C99 inline, GNU extern inline, etc. Related bugzilla's include PR3517, PR3100, & PR2933. Nothing uses this yet, but it appears to work. llvm-svn: 68940
-
Chris Lattner authored
llvm-svn: 68939
-
Nick Lewycky authored
llvm-svn: 68938
-
Nick Lewycky authored
interpreter mode" when it's not. llvm-svn: 68937
-
Devang Patel authored
llvm-svn: 68936
-
Chris Lattner authored
llvm-svn: 68935
-
Nick Lewycky authored
llvm-svn: 68934
-
-
Chris Lattner authored
PR3972: Poor diagnostic with missing ')' llvm-svn: 68932
-
Chris Lattner authored
by making ASTContext::isObjCObjectPointerType accept typedefs of id. llvm-svn: 68931
-
Chris Lattner authored
llvm-svn: 68930
-
Chris Lattner authored
patch by Alexei Svitkine! llvm-svn: 68929
-
Chris Lattner authored
llvm-svn: 68928
-
Chris Lattner authored
llvm-svn: 68927
-
Chris Lattner authored
llvm-svn: 68926
-
Chris Lattner authored
llvm-svn: 68925
-
Rafael Espindola authored
only if symbolic addresses are RIP relatives. llvm-svn: 68924
-
Chris Lattner authored
llvm-svn: 68923
-
Owen Anderson authored
llvm-svn: 68922
-
Chris Lattner authored
llvm-svn: 68921
-
Chris Lattner authored
to isValidAfterIdentifierInDeclarator, as suggested by Sebastian. llvm-svn: 68920
-
Chris Lattner authored
that I noticed working on other things. Instead of emitting: t2.cc:1:8: error: use of undeclared identifier 'g' int x(*g); ^ t2.cc:1:10: error: expected ')' int x(*g); ^ t2.cc:1:6: note: to match this '(' int x(*g); ^ We now only emit: t2.cc:1:7: warning: type specifier missing, defaults to 'int' int x(*g); ^ Note that the example in SemaCXX/nested-name-spec.cpp:f4 is still not great, we now produce both of: void f4(undef::C); // expected-error {{use of undeclared identifier 'undef'}} \ expected-error {{variable has incomplete type 'void'}} The second diagnostic should be silenced by something getting marked invalid. I don't plan to fix this though. llvm-svn: 68919
-
Chris Lattner authored
llvm-svn: 68918
-
Chris Lattner authored
this allows downstream diags to be properly silenced. llvm-svn: 68917
-
Chris Lattner authored
return null. llvm-svn: 68916
-
- Apr 12, 2009
-
-
Rafael Espindola authored
llvm-svn: 68915
-
Chris Lattner authored
struct xyz { int y; }; enum abc { ZZZ }; static xyz b; abc c; we used to produce: t2.c:4:8: error: unknown type name 'xyz' static xyz b; ^ t2.c:5:1: error: unknown type name 'abc' abc c; ^ we now produce: t2.c:4:8: error: use of tagged type 'xyz' without 'struct' tag static xyz b; ^ struct t2.c:5:1: error: use of tagged type 'abc' without 'enum' tag abc c; ^ enum GCC produces the normal: t2.c:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘b’ t2.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘c’ rdar://6783347 llvm-svn: 68914
-
Chris Lattner authored
if a decl is invalid, it isn't added to the Decls array, so we need to pass in Decls.size() to avoid reading uninit memory. llvm-svn: 68913
-