- Feb 16, 2009
-
-
Ted Kremenek authored
llvm-svn: 64663
-
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
-
Chris Lattner authored
the caller wants class or instance methods. llvm-svn: 64654
-
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
-
Chris Lattner authored
llvm-svn: 64651
-
Chris Lattner authored
llvm-svn: 64650
-
Devang Patel authored
llvm-svn: 64649
-
Daniel Dunbar authored
miscompiling. llvm-svn: 64647
-
Ted Kremenek authored
llvm-svn: 64646
-
Chris Lattner authored
property is deprecated, not the getter/setter if the attribute is on the property. llvm-svn: 64644
-
Chris Lattner authored
llvm-svn: 64643
-
Fariborz Jahanian authored
llvm-svn: 64642
-
Douglas Gregor authored
merge the prototype into the redeclaration (and make a note in the declaration). Fixes PR3588. llvm-svn: 64641
-
Daniel Dunbar authored
exists, otherwise gcc just treats as an input. - PR3591 llvm-svn: 64640
-
Douglas Gregor authored
- If a declaration is an invalid redeclaration of an existing name, complain about the invalid redeclaration then avoid adding it to the AST (we can still parse the definition or initializer, if any). - If the declaration is invalid but there is no prior declaration with that name, introduce the invalid declaration into the AST (for later error recovery). - If the declaration is an invalid redeclaration of a builtin that starts with __builtin_, we produce an error and drop the redeclaration. If it is an invalid redeclaration of a library builtin (e.g., malloc, printf), warn (don't error!) and drop the redeclaration. If a user attempts to define a builtin, produce an error and (if it's a library builtin like malloc) suggest -ffreestanding. This addresses <rdar://problem/6097585> and PR2892. However, PR3588 is still going to cause some problems when builtins are redeclared without a prototype. llvm-svn: 64639
-
Ted Kremenek authored
llvm-svn: 64638
-
Chris Lattner authored
llvm-svn: 64637
-
Chris Lattner authored
hosts with a different size_t type. llvm-svn: 64636
-
Chris Lattner authored
llvm-svn: 64635
-
Chris Lattner authored
llvm-svn: 64634
-
Argyrios Kyrtzidis authored
castToDeclContext/castFromDeclContext are only required to be included in the class of decls that directly derive from DeclContext. Their subclasses don't need them. llvm-svn: 64632
-
Argyrios Kyrtzidis authored
castToDeclContext/castFromDeclContext are not meant to be used directly; they are used indirectly by cast/dyn_cast. All Decl <-> DeclContext casting should be done through cast/dyn_cast. llvm-svn: 64631
-
Argyrios Kyrtzidis authored
DeclContext had its "casting machinery" inside the class definition so that if a new declaration context Decl appeared, the necessary changes would be in one place. Since, now, only DeclNodes.def needs to be modified, move things out-of-line and simplify the DeclContext class. llvm-svn: 64630
-
Argyrios Kyrtzidis authored
-In DeclNodes.def, only mark as DeclContexts the top classes that directly derive from DeclContext. If the Decl has subclasses, it should be marked with DECL_CONTEXT_BASE. -Use DeclNodes.def to automate the DeclContext::classof and DeclContext::CastTo definitions. llvm-svn: 64629
-
Ben Laurie authored
llvm-svn: 64628
-
Ted Kremenek authored
llvm-svn: 64627
-
Nick Lewycky authored
llvm-svn: 64626
-
Dan Gohman authored
been written for is no longer relevant with the elimination of signed and unsigned types. llvm-svn: 64625
-
Dan Gohman authored
the name used in the code that these tests are for. llvm-svn: 64624
-
Dan Gohman authored
Enhance instcombine to use the preferred field of GetOrEnforceKnownAlignment in more cases, so that regular IR operations are optimized in the same way that the intrinsics currently are. llvm-svn: 64623
-
Dan Gohman authored
one bit set, because the bit may be shifted off the end. Instead, just check for a constant 1 being shifted. This is still sufficient to handle all the cases in test/CodeGen/X86/bt.ll. This fixes PR3583. llvm-svn: 64622
-
Dan Gohman authored
llvm-svn: 64620
-
Nick Lewycky authored
by request on IRC. llvm-svn: 64619
-
- Feb 15, 2009
-
-
Nick Lewycky authored
llvm-svn: 64617
-
Nick Lewycky authored
Before this change, the program: int var; int main(void) { return 0; } when run under 'nm -g' would show 'U var' with the gold plugin and 'B var' with gcc. llvm-svn: 64616
-
Nick Lewycky authored
when I was looking at functions used by python. Highlights include, better largefile support (64-bit file sizes on 32-bit systems), fputs string is nocapture, popen/pclose added (popen being noalias return), modf and frexp and friends. Also added some missing 'break' statements and combined identical sections. llvm-svn: 64615
-
Nate Begeman authored
llvm-svn: 64614
-