- Apr 07, 2008
-
-
Chris Lattner authored
step towards fixing PR2189. llvm-svn: 49291
-
Chris Lattner authored
when assertions are disabled. llvm-svn: 49288
-
- Apr 06, 2008
-
-
Chris Lattner authored
-Renamed ContextDecl -> DeclContext -Removed DeclContext pointer from FieldDecl -EnumDecl inherits from DeclContext, instead of TagDecl Patch by Argiris Kirtzidis! llvm-svn: 49261
-
- Apr 04, 2008
-
-
Chris Lattner authored
-Added ContextDecl (no TranslationUnitDecl) -ScopedDecl class has a ContextDecl member -FieldDecl class has a ContextDecl member, so that a Field or a ObjCIvar can be traced back to their RecordDecl/ObjCInterfaceDecl easily -FunctionDecl, ObjCMethodDecl, TagDecl, ObjCInterfaceDecl inherit from ContextDecl. With TagDecl as ContextDecl, enum constants have a EnumDecl as their context. -Moved Decl class to a "DeclBase.h" along with ContextDecl class -CurContext is handled by Sema llvm-svn: 49208
-
- Apr 03, 2008
-
-
Chris Lattner authored
llvm-svn: 49137
-
- Apr 02, 2008
-
-
Chris Lattner authored
allowing them to be treated the same in some contexts. A suggestion for a better name is welcome :) llvm-svn: 49100
-
Chris Lattner authored
llvm-svn: 49080
-
Chris Lattner authored
First, we got several CVR propagation cases wrong, which Eli pointed out in PR2039. Second, we didn't propagate address space qualifiers correctly, leading to incorrect lowering of code in CodeGen/address-space.c. Third, we didn't uniformly propagate the specifier in the array to the pointer ("int[restrict 4]" -> "int *restrict"). This adds an ASTContext::getArrayDecayedType member that handles the non-trivial logic for this seemingly simple operation. llvm-svn: 49078
-
- Mar 16, 2008
-
-
Chris Lattner authored
allocation through ASTContext. llvm-svn: 48403
-
Chris Lattner authored
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
-
- Mar 15, 2008
-
-
Chris Lattner authored
all Create methods. llvm-svn: 48398
-
Chris Lattner authored
Right now only some ctors are switched over. I need to switch them all over so I can change the dtor over. This lets us experiment with region allocation and other things in the future. llvm-svn: 48390
-
- Mar 08, 2008
-
-
Chris Lattner authored
which is simpler to use and provide. llvm-svn: 48051
-
Chris Lattner authored
different widths. Start simplifying TargetInfo accessor methods. llvm-svn: 48050
-
- Mar 05, 2008
-
-
Chris Lattner authored
llvm-svn: 47954
-
- Feb 25, 2008
-
-
Eli Friedman authored
failures on OS X in some cases. (Thank you valgrind.) llvm-svn: 47568
-
- Feb 20, 2008
-
-
Chris Lattner authored
rename QualType::getQualifiers to getCVRQualifiers. Add some fixme's and clean up some code relevant to qualifiers. Change ASQualType to contain a Type* instead of a QualType. Any CVR qualifiers should be on the outer qual type. llvm-svn: 47398
-
- Feb 18, 2008
-
-
Anders Carlsson authored
llvm-svn: 47260
-
- Feb 16, 2008
-
-
Anders Carlsson authored
llvm-svn: 47216
-
Anders Carlsson authored
llvm-svn: 47202
-
- Feb 15, 2008
-
-
Eli Friedman authored
IncompleteArrayType. This should make code dealing with both incomplete and variable length arrays much more readable, plus it allows properly making the distinction between isVariableArrayType() and isVariablyModifiedType(). The patch is a little big, but it's strightforward. so I don't think there should be any issues. llvm-svn: 47165
-
Eli Friedman authored
going on with mixing scopes, though. llvm-svn: 47152
-
- Feb 12, 2008
-
-
Eli Friedman authored
llvm-svn: 47005
-
Eli Friedman authored
they are of type wchar_t[]. llvm-svn: 47004
-
Eli Friedman authored
llvm-svn: 47003
-
- Feb 06, 2008
-
-
Eli Friedman authored
llvm-svn: 46806
-
Eli Friedman authored
llvm-svn: 46799
-
- Feb 04, 2008
-
-
Christopher Lamb authored
qualifiers use the __attribute__((address_space(id))) syntax. llvm-svn: 46691
-
- Jan 30, 2008
-
-
Steve Naroff authored
Abolish a bunch of Xcode inserted tabs. llvm-svn: 46566
-
- Jan 29, 2008
-
-
Steve Naroff authored
Tighten up ASTContext::typesAreCompatible()...it needs to make sure the qualifiers match. The comment and C99 citation for this routine were correct...the code needed to conform to the comment/spec. This fixes the test added below. Tightening up this routine forced tweaks to Sema::CheckSubtractionOperands() and Sema::CheckCompareOperands(). For example, they both need to operate on the unqualified pointee... llvm-svn: 46522
-
Steve Naroff authored
Fix bz1950. ASTContext::functionTypesAreCompatible() needs to operate on the unqualified parameter types (per C99 6.7.5.3p15). llvm-svn: 46472
-
- Jan 22, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 46260
-
- Jan 14, 2008
-
-
Chris Lattner authored
proto and function type without proto. It would never call 'functionTypesAreCompatible' because they have different type classes. llvm-svn: 45952
-
- Jan 10, 2008
-
-
Steve Naroff authored
Add a FIXME to commit r45784. Thanks mrs! llvm-svn: 45790
-
- Jan 09, 2008
-
-
Steve Naroff authored
Fix ASTContext::typesAreCompatible to allow for int/enum compatibility (C99 6.7.2.2p4). Fix Sema::MergeFunctionDecl to allow for function type compatibility (by using the predicate on ASTContext). Function types don't have to be identical to be compatible... llvm-svn: 45784
-
- Jan 07, 2008
-
-
Fariborz Jahanian authored
are canonical. Asst in interfaceTypesAreCompatible if they are not. llvm-svn: 45717
-
Ted Kremenek authored
some naming inconsistencies in the names of classes pertaining to Objective-C support in clang. llvm-svn: 45715
-
- Jan 03, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 45547
-
Fariborz Jahanian authored
llvm-svn: 45546
-
- Dec 29, 2007
-
-
Chris Lattner authored
discussion of this change. llvm-svn: 45410
-