- Jun 17, 2010
-
-
Alexis Hunt authored
llvm-svn: 106188
-
- May 30, 2010
-
-
Alexis Hunt authored
The macros required for DeclNodes use have changed to match the use of StmtNodes. The FooFirst enumerator constants have been named firstFoo to match usage elsewhere. llvm-svn: 105165
-
- May 05, 2010
-
-
Douglas Gregor authored
llvm-svn: 103077
-
- Mar 22, 2010
-
-
Kovarththanan Rajaratnam authored
llvm-svn: 99191
-
- Mar 11, 2010
-
-
John McCall authored
I'm expecting this portion of the AST to grow and change, and I'd like to be able to do that with minimal recompilation. If this proves unnecessary when access control is fully-implemented, I'll fold the classes back into DeclCXX.h. llvm-svn: 98249
-
- Mar 08, 2010
-
-
Ted Kremenek authored
This allows them to be allocated using a BumpPtrAllocated in the common case. llvm-svn: 97978
-
- Feb 09, 2010
-
-
Douglas Gregor authored
it available within the AST library, of which Sema is one client. No functionality change. llvm-svn: 95701
-
- Feb 05, 2010
-
-
Douglas Gregor authored
one context and import them into another context, merging them according to language-specific rules. This is a skeleton. It doesn't work, it isn't testable, but I want it in version control. llvm-svn: 95395
-
- Jan 10, 2010
-
-
Anton Korobeynikov authored
llvm-svn: 93120
-
- Dec 23, 2009
-
-
Ken Dyck authored
llvm-svn: 91978
-
- Dec 18, 2009
-
-
Ken Dyck authored
created CharUnits.cpp. llvm-svn: 91719
-
- Dec 16, 2009
-
-
Anders Carlsson authored
Check in a rudimentary FullExpr class that isn't used anywhere yet. Rename Action::FullExpr to Action::MakeFullExpr to avoid name clashes. llvm-svn: 91494
-
- Nov 10, 2009
-
-
Douglas Gregor authored
llvm-svn: 86629
-
- Oct 29, 2009
-
-
John McCall authored
classes. Move its implementation into a new module. This will seem marginally more justified in a bit. llvm-svn: 85499
-
- Oct 06, 2009
-
-
Douglas Gregor authored
for bases, members, overridden virtual methods, etc. The operations isDerivedFrom and lookupInBases are now provided by CXXRecordDecl, rather than by Sema, so that CodeGen and other clients can use them directly. llvm-svn: 83396
-
- Aug 19, 2009
-
-
Benjamin Kramer authored
llvm-svn: 79416
-
- Jul 28, 2009
-
-
Douglas Gregor authored
when statements and expressions are equivalent. llvm-svn: 77284
-
- Jul 19, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76351
-
- Jul 16, 2009
-
-
Ted Kremenek authored
llvm-svn: 76092
-
- Jul 15, 2009
-
-
Ted Kremenek authored
llvm-svn: 75832
-
- Jul 06, 2009
-
-
Argyrios Kyrtzidis authored
llvm-svn: 74864
-
Argyrios Kyrtzidis authored
ASTLocation is a much better name for its intended purpose which to represent a "point" into the AST. llvm-svn: 74858
-
Argyrios Kyrtzidis authored
DeclReferenceMap (similar to ParentMap) is a helper class for mapping Decls to the AST nodes that reference them. A client will initialize it by passing an ASTContext to its constructor and later use it to iterate over the references of a Decl. References are mapped and retrieved using the primary declaration (Decl::getPrimaryDecl()) of a particular Decl. llvm-svn: 74801
-
Argyrios Kyrtzidis authored
ASTNode is an immutable pair of a Decl and Stmt. If Stmt is not null, Decl should be its immediate parent. llvm-svn: 74797
-
- Jun 14, 2009
-
-
Chris Lattner authored
fixes a layering violation in lib/Basic/Targets.cpp. llvm-svn: 73318
-
- May 30, 2009
-
-
Douglas Gregor authored
walks through DeclContexts properly, and prints more of the information available in the AST. The functionality is still available via -ast-print, -ast-dump, etc., and also via the new member functions Decl::dump() and Decl::print(). llvm-svn: 72597
-
- May 21, 2009
-
-
Douglas Gregor authored
llvm-svn: 72228
-
Douglas Gregor authored
llvm-svn: 72224
-
- Apr 22, 2009
-
-
Douglas Gregor authored
headers. Future approaches to (de-)serializing ASTs will be based on the PCH infrastructure. llvm-svn: 69828
-
- Apr 01, 2009
-
-
Ted Kremenek authored
llvm-svn: 68232
-
- Mar 28, 2009
-
-
Cedric Venet authored
llvm-svn: 67944
-
- Mar 19, 2009
-
-
Douglas Gregor authored
qualified name, e.g., foo::x so that we retain the nested-name-specifier as written in the source code and can reproduce that qualified name when printing the types back (e.g., in diagnostics). This is PR3493, which won't be complete until finished the other tasks mentioned near the end of this commit. The parser's representation of nested-name-specifiers, CXXScopeSpec, is now a bit fatter, because it needs to contain the scopes that precede each '::' and keep track of whether the global scoping operator '::' was at the beginning. For example, we need to keep track of the leading '::', 'foo', and 'bar' in ::foo::bar::x The Action's CXXScopeTy * is no longer a DeclContext *. It's now the opaque version of the new NestedNameSpecifier, which contains a single component of a nested-name-specifier (either a DeclContext * or a Type *, bitmangled). The new sugar type QualifiedNameType composes a sequence of NestedNameSpecifiers with a representation of the type we're actually referring to. At present, we only build QualifiedNameType nodes within Sema::getTypeName. This will be extended to other type-constructing actions (e.g., ActOnClassTemplateId). Also on the way: QualifiedDeclRefExprs will also store a sequence of NestedNameSpecifiers, so that we can print out the property nested-name-specifier. I expect to also use this for handling dependent names like Fibonacci<I - 1>::value. llvm-svn: 67265
-
- Mar 17, 2009
-
-
Douglas Gregor authored
diagnostics. This builds on the patch that Sebastian committed and then revert. Major differences are: - We don't remove or use the current ".def" files. Instead, for now, we just make sure that we're building the ".inc" files. - Fixed CMake makefiles to run TableGen and build the ".inc" files when needed. Tested with both the Xcode and Makefile generators provided by CMake, so it should be solid. - Fixed normal makefiles to handle out-of-source builds that involve the ".inc" files. I'll send a separate patch to the list with Sebastian's changes that eliminate the use of the .def files. llvm-svn: 67058
-
- Feb 04, 2009
-
-
Douglas Gregor authored
llvm-svn: 63750
-
- Nov 19, 2008
-
-
Oscar Fuentes authored
Patch contributed by Jay Foad! llvm-svn: 59656
-
- Nov 17, 2008
-
-
Douglas Gregor authored
representing the names of declarations in the C family of languages. DeclarationName is used in NamedDecl to store the name of the declaration (naturally), and ObjCMethodDecl is now a NamedDecl. llvm-svn: 59441
-
- Oct 26, 2008
-
-
Oscar Fuentes authored
must be under the `tools' subdirectory of the LLVM *source* tree. llvm-svn: 58180
-