- Oct 29, 2007
-
-
Fariborz Jahanian authored
llvm-svn: 43481
-
Steve Naroff authored
This commit contains lot's of small tweaks to how we pass around and store SourceLocation's for interfaces/protocols/categories/implementations. llvm-svn: 43475
-
Ted Kremenek authored
of VariableArrayTypes that appear in TypedefDecls. for example: typedef int T[x][x]; the StmtIterator will iterate over "x" and "x" as subexpressions of the DeclStmt for T. llvm-svn: 43474
-
Ted Kremenek authored
where the decl would always be non-NULL. Moved the check to after the block to properly tidy up the iterator's state. llvm-svn: 43473
-
Ted Kremenek authored
of VariableTypeArray types that appear in DeclStmts. Removed operator-- from StmtIterator. operator-- added undesired complexity, and we have no consumers of it. llvm-svn: 43471
-
Ted Kremenek authored
iterator of a CompountStmt instead of relying on StmtIterators. llvm-svn: 43469
-
Ted Kremenek authored
slightly more succinct. Introduced VariableArrayType* within StmtIteratorBase to (soon) support iteration over the size expressions of variable length arrays. llvm-svn: 43455
-
Anders Carlsson authored
llvm-svn: 43445
-
Anders Carlsson authored
llvm-svn: 43443
-
Anders Carlsson authored
llvm-svn: 43439
-
Chris Lattner authored
PR1750 llvm-svn: 43435
-
Chris Lattner authored
resolving a crash on a .i file in PR1750. We now generate 49 errors on the .i file in that bug. llvm-svn: 43433
-
Chris Lattner authored
typeof(type) and typeof(expr) correctly. Now provide a single point of contact (Type::getDesugaredType) for doing the shallow stripping we need. llvm-svn: 43432
-
Anders Carlsson authored
llvm-svn: 43428
-
- Oct 28, 2007
-
-
Ted Kremenek authored
llvm-svn: 43423
-
Ted Kremenek authored
llvm-svn: 43419
-
- Oct 27, 2007
-
-
Ted Kremenek authored
llvm-svn: 43418
-
Ted Kremenek authored
llvm-svn: 43417
-
Ted Kremenek authored
llvm-svn: 43414
-
Ted Kremenek authored
llvm-svn: 43407
-
- Oct 26, 2007
-
-
Ted Kremenek authored
llvm-svn: 43397
-
Hartmut Kaiser authored
llvm-svn: 43371
-
Ted Kremenek authored
llvm-svn: 43366
-
- Oct 25, 2007
-
-
Ted Kremenek authored
llvm-svn: 43361
-
Chris Lattner authored
some code. llvm-svn: 43322
-
- Oct 24, 2007
-
-
Ted Kremenek authored
This permits in-place replacement of the original AST statements. llvm-svn: 43295
-
- Oct 19, 2007
-
-
Ted Kremenek authored
visits its decls, rather than just creating an "end()" iterator. Fixed child_end() for statements and expressions to use child_iterator() to create the end() iterator, rather than just returning NULL. Fixed bug in StmtIterator where we did not correctly detect if we had marched off the end of the ScopedDecls. llvm-svn: 43156
-
- Oct 18, 2007
-
-
Chris Lattner authored
llvm-svn: 43149
-
Ted Kremenek authored
and StmtIteratorImpl (templated), which StmtIterator and ConstStmtIterator now succintly subclass. Implemented iteration over the initializers in DeclStmts. This is not thoroughly tested, so there may be bugs. llvm-svn: 43138
-
Ted Kremenek authored
directly inlining its logic. llvm-svn: 43137
-
Ted Kremenek authored
llvm-svn: 43132
-
Chris Lattner authored
llvm-svn: 43110
-
Ted Kremenek authored
that will (soon) allow iteration over the initializers in declarations. This new iterator mechanism is implemented by the classes StmtIterator and ConstStmtIterator. Patched a few files to use "operator++" instead of "operator+" on child_iterators. Friendship added in VarDecl to StmtIterator to allow returning a reference to the initializer within the VarDecl. We may not wish this as a permanent solution. llvm-svn: 43105
-
Chris Lattner authored
local, making the code easier to read. llvm-svn: 43104
-
- Oct 17, 2007
-
-
Ted Kremenek authored
filesystems (was "#include "clang/AST/DeclObjc.h", which worked fine on a case-insensitive HFS+ volume on the Mac). llvm-svn: 43080
-
Fariborz Jahanian authored
llvm-svn: 43075
-
Anders Carlsson authored
Generate code for static variables that don't have initializers. Also, report an error if a static initializer is not constant. llvm-svn: 43058
-
Chris Lattner authored
Rename SourceRange::Begin()/End() to getBegin()/getEnd() for consistency with other code. Start building the rewriter towards handling @encode. llvm-svn: 43047
-
- Oct 16, 2007
-
-
Fariborz Jahanian authored
llvm-svn: 43042
-
Fariborz Jahanian authored
llvm-svn: 43039
-