- Aug 19, 2010
-
-
Alexis Hunt authored
Now all classes derived from Attr are generated from TableGen. Additionally, Attr* is no longer its own linked list; SmallVectors or Attr* are used. The accompanying LLVM commit contains the updates to TableGen necessary for this. Some other notes about newly-generated attribute classes: - The constructor arguments are a SourceLocation and a Context&, followed by the attributes arguments in the order that they were defined in Attr.td - Every argument in Attr.td has an appropriate accessor named getFoo, and there are sometimes a few extra ones (such as to get the length of a variadic argument). Additionally, specific_attr_iterator has been introduced, which will iterate over an AttrVec, but only over attributes of a certain type. It can be accessed through either Decl::specific_attr_begin/end or the global functions of the same name. llvm-svn: 111455
-
- Aug 18, 2010
-
-
John McCall authored
mangleCallExpression. Also, operator names with unknown arity should be mangled as binary operators; this is actually covered by an oddly- positioned sentence in the ABI document. Fixes PR7891. llvm-svn: 111395
-
Chris Lattner authored
llvm-svn: 111365
-
Chris Lattner authored
llvm-svn: 111334
-
Chris Lattner authored
reason that this should be limited to simple lvalues. llvm-svn: 111331
-
Chris Lattner authored
llvm-svn: 111330
-
Daniel Dunbar authored
llvm-svn: 111314
-
- Aug 17, 2010
-
-
John McCall authored
dependent call expression. llvm-svn: 111300
-
Benjamin Kramer authored
and remove getStrData(). Patch by Peter Davies (with some tweaks). llvm-svn: 111229
-
- Aug 16, 2010
-
-
Charles Davis authored
AST library. This also adds infrastructure for supporting multiple C++ ABIs in the AST. llvm-svn: 111117
-
- Aug 15, 2010
-
-
Argyrios Kyrtzidis authored
llvm-svn: 111091
-
Eli Friedman authored
llvm-svn: 111085
-
- Aug 14, 2010
-
-
John McCall authored
llvm-svn: 111070
-
- Aug 13, 2010
-
-
John McCall authored
Not yet complete or used. llvm-svn: 111044
-
Eli Friedman authored
llvm-svn: 110996
-
Fariborz Jahanian authored
block's helper function. Fixes radar 7860965. llvm-svn: 110988
-
John McCall authored
a -cc1 option. The Darwin linker complains about mixed visibility when linking gcc-built objects with clang-built objects, and the optimization isn't really that valuable. Platforms with less ornery linkers can feel free to enable this. llvm-svn: 110979
-
- Aug 12, 2010
-
-
John McCall authored
llvm-svn: 110900
-
Devang Patel authored
llvm-svn: 110885
-
John McCall authored
treats that as a contract to be fulfilled by any replacements. llvm-svn: 110864
-
- Aug 11, 2010
-
-
Devang Patel authored
Emit a stop point for delegate constructor call. This gives user a chance to step into constructor body. llvm-svn: 110853
-
John McCall authored
instead of _Unwind_Resume. With SJLJ exceptions, this is spelled "_Unwind_SjLj_Resume_or_Rethrow", not "_Unwind_SjLj_Resume", which has significantly different semantics. We should actually never be generating a call to _Unwind_SjLj_Resume directly; even if we were generating true cleanups (which we aren't because of the horrible hack), we should be calling __cxa_end_cleanup() on ARM. I haven't implemented this because there's little point as long as the HH is present. I believe this fixes <rdar://problem/8281377>. llvm-svn: 110851
-
Eli Friedman authored
in the code after the "FIXME: Needs to be written". llvm-svn: 110849
-
Fariborz Jahanian authored
types. Fixes PR7865. llvm-svn: 110832
-
John McCall authored
where we weren't accounting for the possibility that a @finally block might have internal cleanups and therefore might write to the cleanup destination slot. Fixes <rdar://problem/8293901>. llvm-svn: 110760
-
- Aug 10, 2010
-
-
Devang Patel authored
llvm-svn: 110716
-
John Thompson authored
llvm-svn: 110706
-
John McCall authored
the variable is fully initialized. llvm-svn: 110704
-
Devang Patel authored
llvm-svn: 110697
-
Devang Patel authored
Simplify code and add comments, in code that generate debug info for constant integer globals, based on Chris's feedback. llvm-svn: 110694
-
Devang Patel authored
llvm-svn: 110660
-
- Aug 09, 2010
-
-
Argyrios Kyrtzidis authored
Strictly speaking, implementations don't go in headers but there's no law against it. llvm-svn: 110567
-
- Aug 08, 2010
-
-
Eric Christopher authored
llvm-svn: 110530
-
- Aug 07, 2010
-
-
Douglas Gregor authored
an lvalue of another, compatible Objective-C object type (e.g., a subclass). Introduce a new initialization sequence step kind to describe this binding, along with a new cast kind. Fixes PR7741. llvm-svn: 110513
-
John McCall authored
to avoid the awesome-but-wrong-in-this-case assertion in the canon EAC. Fixes PR7834. Also fix a subtle address-space bug in the memset path. llvm-svn: 110511
-
John McCall authored
This takes some trickery since CastExpr has subclasses (and indeed, is abstract). Also, smoosh the CastKind into the bitfield from Expr. Drops two words of storage from Expr in the common case of expressions which don't need inheritance paths. Avoids a separate allocation and another word of overhead in cases needing inheritance paths. Also has the advantage of not leaking memory, since destructors for AST nodes are never run. llvm-svn: 110507
-
Chris Lattner authored
__overflow_handler entrypoint that David Chisnall made up. Calling __overflow_handler is not part of the contract of -ftrapv provided by GCC, and should never have been checked in in the first place. According to: http://permalink.gmane.org/gmane.comp.compilers.clang.devel/8699 David is using this for some of arbitrary precision integer stuff or something, which is not an appropriate thing to implement on this. llvm-svn: 110490
-
- Aug 06, 2010
-
-
Eli Friedman authored
way to tell gcc "really, values outside the enum aren't valid". llvm-svn: 110450
-
Fariborz Jahanian authored
union type variables and their nesting inside other aggregate types. llvm-svn: 110448
-
Nate Begeman authored
<rdar://problem/8278732> llvm-svn: 110420
-