- Jun 17, 2010
-
-
Alexis Hunt authored
llvm-svn: 106188
-
Alexis Hunt authored
Currently, there are two effective changes: - Attr::Kind has been changed to attr::Kind, in a separate namespace rather than the Attr class. This is because the enumerator needs to be visible to parse. - The class definitions for the C++0x attributes other than aligned are generated by TableGen. The specific classes generated by TableGen are controlled by an array in TableGen (see the accompanying commit to the LLVM repository). I will be expanding the amount of code generated as I develop the new attributes system while initially keeping it confined to these attributes. llvm-svn: 106172
-
- Jun 16, 2010
-
-
Douglas Gregor authored
template name that refers to such a parameter. It's amazing that this problem didn't surface earlier. Fixes PR7387. llvm-svn: 106147
-
Douglas Gregor authored
llvm-svn: 106100
-
Abramo Bagnara authored
llvm-svn: 106099
-
Douglas Gregor authored
provides C "integer type" semantics in C and C++ "integral type" semantics in C++. Note that I still need to update isIntegerType (and possibly other predicates) using the same approach I've taken for isIntegralType(). The two should have the same meaning, but currently don't (!). llvm-svn: 106074
-
Douglas Gregor authored
in C++ that involve both integral and enumeration types. Convert all of the callers to Type::isIntegralType() that are meant to work with both integral and enumeration types over to Type::isIntegralOrEnumerationType(), to prepare to eliminate enumeration types as integral types. llvm-svn: 106071
-
- Jun 15, 2010
-
-
Douglas Gregor authored
ASTContext rather than via the normal heap. llvm-svn: 106008
-
- Jun 14, 2010
-
-
Chris Lattner authored
Decl.cpp:716:28: warning: initialization of pointer of type 'clang::VarDecl *' from literal 'false' [-Wbool-conversions] VarDecl *LastTentative = false; ^ RewriteRope.cpp:535:12: warning: initialization of pointer of type '<anonymous>::RopePieceBTreeNode *' from literal 'false' [-Wbool-conversions] return false; ^ llvm-svn: 105946
-
- Jun 13, 2010
-
-
Anders Carlsson authored
llvm-svn: 105920
-
Anders Carlsson authored
Implement part of the EmptySubobjectMap optimization described in PR6998. We still need to do this for bases. llvm-svn: 105919
-
John McCall authored
from its canonical type. llvm-svn: 105912
-
- Jun 12, 2010
-
-
Abramo Bagnara authored
llvm-svn: 105882
-
Abramo Bagnara authored
llvm-svn: 105880
-
John McCall authored
explicit casts. Fixes PR7359. llvm-svn: 105871
-
Argyrios Kyrtzidis authored
Fix PCH issue. Attributes of a declaration were truncated to just one when the decl was read from a PCH file. llvm-svn: 105852
-
- Jun 11, 2010
-
-
John McCall authored
vector is filled with the given constant; we were just initializing the first element. llvm-svn: 105824
-
John McCall authored
llvm-svn: 105820
-
John McCall authored
llvm-svn: 105818
-
John McCall authored
case of an elaborated-type-specifier like 'typename A<T>::foo', and DependentTemplateSpecializationType represents the case of an elaborated-type-specifier like 'typename A<T>::template B<T>'. The TypeLoc representation of a DependentTST conveniently exactly matches that of an ElaboratedType wrapping a TST. Kill off the explicit rebuild methods for RebuildInCurrentInstantiation; the standard implementations work fine because the nested name specifier is computable in the newly-entered context. llvm-svn: 105801
-
- Jun 09, 2010
-
-
Abramo Bagnara authored
llvm-svn: 105716
-
Douglas Gregor authored
being a subsequence of another standard conversion sequence. Instead of requiring exact type equality for the second conversion step, require type *similarity*, which is type equality with cv-qualifiers removed at all levels. This appears to match the behavior of EDG and VC++ (albeit not GCC), and feels more intuitive. Big thanks to John for the line of reasoning that supports this change: since cv-qualifiers are orthogonal to the second conversion step, we should ignore them in the type comparison. llvm-svn: 105678
-
Ted Kremenek authored
their associated memory destroyed when using a BumpPtrAllocator. These objects internally use a DenseMap. llvm-svn: 105659
-
- Jun 08, 2010
-
-
Daniel Dunbar authored
Makefiles: Set Clang CPP compiler flags in a single location, instead of scattered throughout the project Makefiles. llvm-svn: 105638
-
Daniel Dunbar authored
- This eliminates most dependencies on how Clang is installed relative to LLVM. llvm-svn: 105637
-
Anders Carlsson authored
llvm-svn: 105628
-
Anders Carlsson authored
When checking whether we can place a base subobject at an offset, we don't need to go past the highest offset that's known to contain an empty base subobject. llvm-svn: 105611
-
Anders Carlsson authored
llvm-svn: 105608
-
- Jun 05, 2010
-
-
Abramo Bagnara authored
llvm-svn: 105525
-
John McCall authored
This is never null, but the associated type might be. llvm-svn: 105503
-
Rafael Espindola authored
llvm-svn: 105500
-
- Jun 04, 2010
-
-
John McCall authored
llvm-svn: 105484
-
Fariborz Jahanian authored
No functionality change yet. llvm-svn: 105479
-
John McCall authored
was given. Remove some unnecessary accounting from BlockScopeInfo. Handle typedef'ed function types until such time as we decide not. llvm-svn: 105478
-
Anders Carlsson authored
llvm-svn: 105457
-
David Chisnall authored
Fixed Objective-C type encoding for bitfields for the GNU runtime to match the encoding used by GCC. llvm-svn: 105451
-
- Jun 03, 2010
-
-
John McCall authored
This is required in order to test: The ASTImporter should set base classes after formally entering the definition. llvm-svn: 105401
-
Anders Carlsson authored
llvm-svn: 105374
-
- Jun 01, 2010
-
-
John McCall authored
bring in the entire lookup table at once. Also, give ExternalSemaSource's vtable a home. This is important because otherwise any reference to it will cause RTTI to be emitted, and since clang is compiled with -fno-rtti, that RTTI will contain unresolved references (to ExternalASTSource's RTTI). So this change makes it possible to subclass ExternalSemaSource from projects compiled with RTTI, as long as the subclass's home is compiled with -fno-rtti. llvm-svn: 105268
-
- 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
-