- Jul 19, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76351
-
Anders Carlsson authored
llvm-svn: 76348
-
- Jul 18, 2009
-
-
Anders Carlsson authored
llvm-svn: 76343
-
Anders Carlsson authored
llvm-svn: 76339
-
Anders Carlsson authored
llvm-svn: 76338
-
Argyrios Kyrtzidis authored
llvm-svn: 76337
-
Anders Carlsson authored
llvm-svn: 76333
-
Anders Carlsson authored
llvm-svn: 76330
-
Anders Carlsson authored
llvm-svn: 76327
-
Steve Naroff authored
llvm-svn: 76322
-
Steve Naroff authored
llvm-svn: 76321
-
Argyrios Kyrtzidis authored
Introduce a redecl_iterator in Decl class, so that we can do a "iterate over all declarations of the same decl" without knowing the exact type. llvm-svn: 76298
-
Argyrios Kyrtzidis authored
Introduce the Redeclarable template class, which serves as a base type defining the common interface for Decls that can be redeclared. Make FunctionDecl and VarDecl use it. llvm-svn: 76297
-
Argyrios Kyrtzidis authored
Their usefulness is questionable since redecl_iterator was introduced. llvm-svn: 76275
-
Argyrios Kyrtzidis authored
llvm-svn: 76274
-
Argyrios Kyrtzidis authored
Move the functionality of ASTContext::getCanonicalDecl(), into a virtual method Decl::getCanonicalDecl(). llvm-svn: 76273
-
- Jul 17, 2009
-
-
Ted Kremenek authored
until Doug Gregor's Type smart pointer code lands (or more discussion occurs). These methods just call the new Type::getAs<XXX> methods, so we still have reduced implementation redundancy. Having explicit getAsXXXType() methods makes it easier to set breakpoints in the debugger. llvm-svn: 76193
-
Chris Lattner authored
llvm-svn: 76179
-
Zhongxing Xu authored
code with the new method. llvm-svn: 76164
-
Ted Kremenek authored
Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), Type::getAsMemberPointerType(), Type::getAsTagType(), and Type::getAsRecordType() with their Type::getAs<XXX> equivalents. llvm-svn: 76139
-
Ted Kremenek authored
llvm-svn: 76132
-
- Jul 16, 2009
-
-
Ted Kremenek authored
This method is intended to eventually replace the individual Type::getAsXXXType<> methods. The motivation behind this change is twofold: 1) Reduce redundant implementations of Type::getAsXXXType() methods. Most of them are basically copy-and-paste. 2) By centralizing the implementation of the getAs<Type> logic we can more smoothly move over to Doug Gregor's proposed canonical type smart pointer scheme. Along with this patch: a) Removed 'Type::getAsPointerType()'; now clients use getAs<PointerType>. b) Removed 'Type::getAsBlockPointerTypE()'; now clients use getAs<BlockPointerType>. llvm-svn: 76098
-
Ted Kremenek authored
llvm-svn: 76092
-
Steve Naroff authored
llvm-svn: 76078
-
Steve Naroff authored
Convert all clients to use the new predicate on Type. llvm-svn: 76076
-
Fariborz Jahanian authored
llvm-svn: 75861
-
Fariborz Jahanian authored
a test failure, until figuring out what caused the failure. llvm-svn: 75855
-
Fariborz Jahanian authored
base/members. llvm-svn: 75849
-
- Jul 15, 2009
-
-
Ted Kremenek authored
llvm-svn: 75832
-
Steve Naroff authored
Implement the ObjC pseudo built-in types as clang "BuiltinType's". I say pseudo built-in types, since Sema still injects a typedef for recognition (i.e. they aren't truly built-ins from a parser perspective). This removes the static data/methods on ObjCObjectPointerType while preserving the nice API (no need to fiddle with ASTContext:-). This patch also adds Type::isObjCBuiltinType(). This should be the last fairly large patch related to recrafting the ObjC type system. The follow-on patches should be fairly small. llvm-svn: 75808
-
Dan Gohman authored
Force flag to control whether the case of opening an existing file is considered an error. llvm-svn: 75802
-
Fariborz Jahanian authored
a dependent type in the ctor initializer-list. llvm-svn: 75712
-
Fariborz Jahanian authored
llvm-svn: 75692
-
- Jul 14, 2009
-
-
Fariborz Jahanian authored
ctor-initializer AST build. llvm-svn: 75662
-
Fariborz Jahanian authored
llvm-svn: 75651
-
Steve Naroff authored
I don't love the name, however it simplifies the code and is a worthwhile change. If/when we come up with a better name, we can do a search/replace. llvm-svn: 75650
-
Fariborz Jahanian authored
semantics of order of construction [class.init]. llvm-svn: 75649
-
Anders Carlsson authored
llvm-svn: 75641
-
Steve Naroff authored
Note: One day, it might be useful to consider adding this info to DeclGroup (as the comments in FunctionDecl/VarDecl suggest). For now, I think this works fine. I considered moving this to ValueDecl (a common ancestor of FunctionDecl/VarDecl/FieldDecl), however this would add overhead to EnumConstantDecl (which would burn memory and isn't necessary). llvm-svn: 75635
-
Alisdair Meredith authored
llvm-svn: 75622
-