- May 21, 2008
-
-
Ted Kremenek authored
llvm-svn: 51381
-
Steve Naroff authored
llvm-svn: 51380
-
Ted Kremenek authored
llvm-svn: 51379
-
Eli Friedman authored
ASTs. This is a hack, but I haven't considered how we really want to do this. llvm-svn: 51364
-
Eli Friedman authored
we now iterate over the whole AST when we destroy it. llvm-svn: 51363
-
Eli Friedman authored
(specifically, for TranslationUnits created from SerializationTest.cpp). Fixes a double-free bug in the serialization tests. llvm-svn: 51362
-
- May 20, 2008
-
-
Eli Friedman authored
llvm-svn: 51322
-
Ted Kremenek authored
Reclaim memory from chains of ScopedDecls, and reclaim memory for the initializers of EnumConstantDecls. llvm-svn: 51299
-
Ted Kremenek authored
llvm-svn: 51298
-
Ted Kremenek authored
Fixed a bug in ParmVarDecl::param_end(): Handle the case where there are no ParmVarDecls for a FunctionDecl, but its function prototype has formal arguments (can happen with typedefs). llvm-svn: 51297
-
Ted Kremenek authored
llvm-svn: 51294
-
Ted Kremenek authored
llvm-svn: 51288
-
Ted Kremenek authored
1) Sema::ParseAST now constructs a TranslationUnit object to own the top-level Decls, which releases the top-level Decls upon exiting ParseAST. 2) Bug fix: TranslationUnit::~TranslationUnit handles the case where a Decl is added more than once as a top-level Decl. 3) Decl::Destroy is now a virtual method, obviating the need for a special dispatch based on DeclKind. 3) FunctionDecl::Destroy now releases its Body using its Destroy method. 4) Added Stmt::Destroy and Stmt::DestroyChildren, which recursively delete the child ASTs of a Stmt and call their dstors. We may need to special case dstor/Destroy methods for particular Stmt subclasses that own other dynamically allocated objects besides AST nodes. 5) REGRESSION: We temporarily are not deallocating attributes; a FIXME is provided. llvm-svn: 51286
-
Ted Kremenek authored
Added Stmt::DestroyChildren, which will be used by the dstors of the subclasses of Stmt to recursively delete their child AST nodes. llvm-svn: 51278
-
- May 19, 2008
-
-
Eli Friedman authored
code). llvm-svn: 51276
-
- May 16, 2008
-
-
Ted Kremenek authored
llvm-svn: 51190
-
Eli Friedman authored
llvm-svn: 51188
-
- May 15, 2008
-
-
Ted Kremenek authored
expressions. This appears to be a regression introduced in r51113 that caused many test cases to fail (there is still a test case in the Analysis directory that is failing): http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080512/005706.html llvm-svn: 51164
-
- May 14, 2008
-
-
Eli Friedman authored
expressing the full flexibility of the LLVM shufflevector instruction. The expected immediate usage is in *mmintrin.h, so that they don't depend on the mess of gcc-inherited (and not completely implemented) shuffle builtins. llvm-svn: 51113
-
- May 13, 2008
-
-
Nate Begeman authored
llvm-svn: 51068
-
- May 12, 2008
-
-
Ted Kremenek authored
llvm-svn: 50980
-
Ted Kremenek authored
Remove redundant assignment. llvm-svn: 50978
-
Ted Kremenek authored
ScopedDecl with the backpatcher, and *not* a local variable on the stack. The value of DeclCtx gets filled in *later* by the backpatcher. This fixes: http://llvm.org/bugs/show_bug.cgi?id=2308 llvm-svn: 50976
-
- May 10, 2008
-
-
Nuno Lopes authored
llvm-svn: 50945
-
- May 09, 2008
-
-
Nate Begeman authored
vector of the same element type and half the width, with the high, low, even, and odd elements respectively. Allow member references to member references, so that .hi.hi gives you the high quarter of a vector. This is fairly convenient syntax for some insert/extract operations. Remove some unnecessary methods/types in the ExtVectorElementExpr class. llvm-svn: 50892
-
- May 07, 2008
-
-
Fariborz Jahanian authored
an implementation. This fixes couple of failing prperty tests caused by my previous patch. llvm-svn: 50830
-
Fariborz Jahanian authored
properties. Couple of property tests will fail with this patch. Will fix them next. llvm-svn: 50818
-
Steve Naroff authored
llvm-svn: 50816
-
Steve Naroff authored
llvm-svn: 50815
-
- May 05, 2008
-
-
Fariborz Jahanian authored
properties declared in the protocol. llvm-svn: 50662
-
- May 04, 2008
-
-
Chris Lattner authored
Fix 'swapping' of attributes to not insert null values into the DeclAttrs map. llvm-svn: 50612
-
- May 02, 2008
-
-
Fariborz Jahanian authored
protocols into class's property list and performing semantics on them for while doing so. llvm-svn: 50587
-
Ted Kremenek authored
llvm-svn: 50585
-
Ted Kremenek authored
Bug fix in StmtPrinter to handle pretty-printing ObjCMessageExprs involving variadic methods (also did some cosmetic cleanups in the printing output). llvm-svn: 50583
-
- May 01, 2008
-
-
Ted Kremenek authored
Use pointer swizziling to unify in ObjCMessageExpr the receiver and classname "fields". This saves us a pointer. Implemented serialization for ObjCMessageExpr. llvm-svn: 50528
-
Steve Naroff authored
Extend InitListExpr API/IMPL to support arbitrary add/remove (in support of the initializer rewrite I am doing). llvm-svn: 50511
-
- Apr 28, 2008
-
-
Ted Kremenek authored
std::pair<CFGBlock*, CFGBlock*> that have an 8-byte alignment for use with ProgramPoint. This fixes a bug reported by Argiris where using std::set<> on Windows would result in a 4-byte alignment, not an 8-byte alignment. Fixes: <rdar://problem/5892265> llvm-svn: 50364
-
- Apr 27, 2008
-
-
Argyrios Kyrtzidis authored
-NamespaceDecl for the AST -Checks for name clashes between namespaces and tag/normal declarations. This commit doesn't implement proper name lookup for namespaces. llvm-svn: 50321
-
- Apr 23, 2008
-
-
Ted Kremenek authored
when it is constructed via deserialization. This is done by recording a flag indicating that this is the case, and it deletes these objects by getting the references stored in the ASTContext object. This fixes some memory leaks that occurs when we deserialize translation units from bitcode files. The rationale between having TranslationUnit sometimes own these objects and sometimes not is that a TranslationUnit object can be constructed from state generated by the parser (Preprocessor; semantic analyzer, etc.), and thus in these cases won't own the IdentifierTable or Selectors, etc. During deserialization, there is no Preprocessor, so somebody needs to own these objects in order for them to be properly reclaimed. llvm-svn: 50149
-
Fariborz Jahanian authored
to print declaration from its AST. llvm-svn: 50117
-