|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| 
| 
| | Radar 8308053.
llvm-svn: 111275 | 
| | 
| 
| 
| 
| 
| | the way it's being used. Also fix isa<OwnershipAttr> support, break more-than-80-char lines, and other miscellaneous ownership attr cleanup.
llvm-svn: 110908 | 
| | 
| 
| 
| 
| 
| 
| 
| | "editing" mode, introduce a separate function
clang_defaultEditingTranslationUnitOptions() that retrieves the set of
options. No functionality change.
llvm-svn: 110613 | 
| | 
| 
| 
| | llvm-svn: 110609 | 
| | 
| 
| 
| | llvm-svn: 110315 | 
| | 
| 
| 
| 
| 
| | for malloc/free checking.  Patch by Andrew McGregor!
llvm-svn: 109939 | 
| | 
| 
| 
| | llvm-svn: 109379 | 
| | 
| 
| 
| 
| 
| | Elhage!
llvm-svn: 106507 | 
| | 
| 
| 
| 
| 
| | (radar 8076356) - wip.
llvm-svn: 106322 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | Currently, there are two effective changes:
 - Attr::Kind has been changed to attr::Kind, in a separate namespace
   rather than the Attr class. This is because the enumerator needs to
   be visible to parse.
 - The class definitions for the C++0x attributes other than aligned are
   generated by TableGen.
The specific classes generated by TableGen are controlled by an array in
TableGen (see the accompanying commit to the LLVM repository). I will be
expanding the amount of code generated as I develop the new attributes system
while initially keeping it confined to these attributes.
llvm-svn: 106172 | 
| | 
| 
| 
| | llvm-svn: 104800 | 
| | 
| 
| 
| | llvm-svn: 104795 | 
| | 
| 
| 
| | llvm-svn: 104135 | 
| | 
| 
| 
| | llvm-svn: 104026 | 
| | 
| 
| 
| 
| 
| | llvm-gcc does, but are more strict on what uses of weakref we accept.
llvm-svn: 96992 | 
| | 
| 
| 
| 
| 
| 
| | match 'ns_returns_retained' and 'cf_returns_retained' respectively.  These
are not yet hooked up to the static analyzer.
llvm-svn: 96535 | 
| | 
| 
| 
| | llvm-svn: 96447 | 
| | 
| 
| 
| 
| 
| | assosciated with ASTContext.
llvm-svn: 95931 | 
| | 
| 
| 
| 
| 
| 
| 
| | array associated with NonNullAttr.  This fixes yet another leak when
ASTContext uses a BumpPtrAllocator.
Fixes: <rdar://problem/7637150>
llvm-svn: 95863 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | array allocated using the allocator in ASTContext.  This addresses
these strings getting leaked when using a BumpPtrAllocator (in
ASTContext).
Fixes: <rdar://problem/7636765>
llvm-svn: 95853 | 
| | 
| 
| 
| 
| 
| 
| 
| | attribute, so it uses Anton's new target-specific attribute support. It's
supposed to ensure that the stack is 16-byte aligned, but since necessary
support is lacking from LLVM, this is a no-op for now.
llvm-svn: 95820 | 
|  | llvm-svn: 93120 |