- Feb 18, 2009
-
-
Chris Lattner authored
stuff behind a private static function. llvm-svn: 64898
-
Douglas Gregor authored
to do in this area, since there are other places that reference FunctionDecls. Don't allow "overloadable" functions (in C) to be declared without a prototype. llvm-svn: 64897
-
Chris Lattner authored
llvm-svn: 64896
-
Chris Lattner authored
it faster in the common case when NSConstantString is around. llvm-svn: 64895
-
Chris Lattner authored
llvm-svn: 64894
-
Chris Lattner authored
the various PPTokens that are pasted together to make it. In the course of working on this, I discovered ParseObjCStringLiteral which needs some work. I'll tackle it next. llvm-svn: 64892
-
Fariborz Jahanian authored
Note that one test attr-objc-gc.m fails. I will fix this after removing these attributes from the Decl nodes. llvm-svn: 64889
-
rdar://6597252Chris Lattner authored
compatible, even if they are weird implicit objc pointer types like Class. llvm-svn: 64885
-
Chris Lattner authored
llvm-svn: 64884
-
Douglas Gregor authored
specialization of class templates, e.g., template<typename T> class X; template<> class X<int> { /* blah */ }; Each specialization is a different *Decl node (naturally), and can have different members. We keep track of forward declarations and definitions as for other class/struct/union types. This is only the basic framework: we still have to deal with checking the template headers properly, improving recovery when there are failures, handling nested name specifiers, etc. llvm-svn: 64848
-
- Feb 17, 2009
-
-
Ted Kremenek authored
llvm-svn: 64831
-
Argyrios Kyrtzidis authored
llvm-svn: 64808
-
Argyrios Kyrtzidis authored
llvm-svn: 64804
-
Argyrios Kyrtzidis authored
llvm-svn: 64802
-
Argyrios Kyrtzidis authored
Pass the DeclContext to ObjCIvarDecls as well. llvm-svn: 64801
-
Fariborz Jahanian authored
general use; as for, objc2's gc type attributes. No change in functionality. llvm-svn: 64778
-
Douglas Gregor authored
much pain when compiling the Linux kernel (PR3592). llvm-svn: 64767
-
Chris Lattner authored
t.c:4:9: error: invalid type 'short *' to __real operator __tg_choose (__real__(z), C##f(z), (C)(z), C##l(z)), ^ instead of: t.c:4:9: error: invalid type 'short *' to __real or __imag operator __tg_choose (__real__(z), C##f(z), (C)(z), C##l(z)), ^ fixing a fixme. It would be even fancier to get the spelling of the token, but I don't care *that* much :) llvm-svn: 64759
-
Chris Lattner authored
2 out of 2 people on irc prefer them gone :) llvm-svn: 64749
-
Douglas Gregor authored
functions, so if we're declaring a static we should implicitly declare a library function by the same name (e.g., malloc, strdup). Fixes PR3592. llvm-svn: 64736
-
Chris Lattner authored
instance in Sema be a pimpl. llvm-svn: 64718
-
Douglas Gregor authored
CXXRecordDecl that is used to represent class template specializations. These are canonical declarations that can refer to either an actual class template specialization in the code, e.g., template<> class vector<bool> { }; or to a template instantiation. However, neither of these features is actually implemented yet, so really we're just using (and uniqing) the declarations to make sure that, e.g., A<int> is a different type from A<float>. Note that we carefully distinguish between what the user wrote in the source code (e.g., "A<FLOAT>") and the semantic entity it represents (e.g., "A<float, int>"); the former is in the sugared Type, the latter is an actual Decl. llvm-svn: 64716
-
Chris Lattner authored
llvm-svn: 64712
-
Chris Lattner authored
llvm-svn: 64711
-
Daniel Dunbar authored
llvm-svn: 64700
-
- Feb 16, 2009
-
-
Daniel Dunbar authored
- Define pow[lf]?, sqrt[lf]? as builtins. - Add -fmath-errno option which binds to LangOptions.MathErrno - Add new builtin flag Builtin::Context::isConstWithoutErrno for functions which can be marked as const if errno isn't respected for math functions. Sema automatically marks these functions as const when they are defined, if MathErrno=0. - IRgen uses const attribute on sqrt and pow library functions to decide if it can use the llvm intrinsic. llvm-svn: 64689
-
Douglas Gregor authored
extensions). This caught a couple bugs in our test suite :) llvm-svn: 64686
-
Chris Lattner authored
We now pass all the deprecation tests in the objc.dg suite. llvm-svn: 64679
-
Douglas Gregor authored
llvm-svn: 64676
-
Chris Lattner authored
llvm-svn: 64673
-
Chris Lattner authored
llvm-svn: 64671
-
Chris Lattner authored
llvm-svn: 64670
-
Chris Lattner authored
dubious, but at least mark it as an invalid decl. llvm-svn: 64668
-
Chris Lattner authored
llvm-svn: 64667
-
Douglas Gregor authored
prototype, synthesize ParmVarDecls for prototype-less FunctionDecl. llvm-svn: 64666
-
Fariborz Jahanian authored
llvm-svn: 64660
-
Chris Lattner authored
whose declaration was declared as deprecated. llvm-svn: 64658
-
Fariborz Jahanian authored
the same. llvm-svn: 64657
-
Douglas Gregor authored
interface for ivars before assuming that this is an unresolved function name. Fixes <rdar://problem/6590445>. llvm-svn: 64653
-
Chris Lattner authored
llvm-svn: 64652
-