- Sep 29, 2010
-
-
Douglas Gregor authored
during template instantiation, from Martin Vejnar! llvm-svn: 115051
-
Daniel Dunbar authored
patch by Jonathan Mulder! llvm-svn: 115049
-
Daniel Dunbar authored
llvm-svn: 115041
-
Douglas Gregor authored
in a GNU-compatible C++ dialect. Fixes <rdar://problem/8477819>. llvm-svn: 115028
-
Douglas Gregor authored
into CXXRecordDecl. The only part that we do not handle this way are using declarations, since that would require extra name lookup that we don't currently want to pay for. This fixes <rdar://problem/8459981>, so that LLDB can build a CXXRecordDecl and magically get all of the right bits set. llvm-svn: 115026
-
Craig Silverstein authored
we do for the similar CXXTemporaryObjectExpr. OKed by chandlerc and wan. llvm-svn: 115025
-
Douglas Gregor authored
completely into CXXRecordDecl, by adding a new completeDefinition() function. This required a little reshuffling of the final-overrider checking code, since the "abstract" calculation in the presence of abstract base classes needs to occur in CXXRecordDecl::completeDefinition() but we don't want to compute final overriders more than one in the common case. llvm-svn: 115007
-
Chris Lattner authored
llvm-svn: 115004
-
- Sep 28, 2010
-
-
Douglas Gregor authored
CXXRecordDecl::DefinitionData, rather than having Sema mark the bit. llvm-svn: 114993
-
-
Douglas Gregor authored
<rdar://problem/8459981>. llvm-svn: 114984
-
Fariborz Jahanian authored
Fixes rdar://8476159. llvm-svn: 114982
-
Douglas Gregor authored
in CXXRecordDecl itself. Yes, this is also part of <rdar://problem/8459981>. This reinstates r114924, with one crucial bug fix: we were ignoring the implicit fields created by anonymous structs/unions when updating the bits in CXXRecordDecl, which means that a class/struct containing only an anonymous class/struct would be considered "empty". Hilarity follows. llvm-svn: 114980
-
Sebastian Redl authored
llvm-svn: 114979
-
Sebastian Redl authored
Move ExternalSemaSource::ReadMethodPool's implementation to Sema.cpp so that the header can get away with forward declarations only for ObjCMethodList and Selector. Fixes <rdar://8467631>. llvm-svn: 114978
-
Douglas Gregor authored
Centralize the management of CXXRecordDecl::DefinitionData's Aggregate and PlainOldData bits in CXXRecordDecl itself. Another milepost on the road toward <rdar://problem/8459981>. llvm-svn: 114977
-
Douglas Gregor authored
verify that we aren't in a message-send expression before digging into the identifier or looking ahead more tokens. Fixes a regression (<rdar://problem/8483253>) I introduced with bracket insertion. llvm-svn: 114968
-
Argyrios Kyrtzidis authored
Fixes rdar://8459342. llvm-svn: 114955
-
-
Sebastian Redl authored
llvm-svn: 114940
-
Sebastian Redl authored
llvm-svn: 114937
-
Bill Wendling authored
llvm-svn: 114936
-
Bill Wendling authored
one of them) was causing a series of failures: http://google1.osuosl.org:8011/builders/clang-x86_64-darwin10-selfhost/builds/4518 svn merge -c -114929 https://llvm.org/svn/llvm-project/cfe/trunk --- Reverse-merging r114929 into '.': U include/clang/Sema/Sema.h U include/clang/AST/DeclCXX.h U lib/Sema/SemaDeclCXX.cpp U lib/Sema/SemaTemplateInstantiateDecl.cpp U lib/Sema/SemaDecl.cpp U lib/Sema/SemaTemplateInstantiate.cpp U lib/AST/DeclCXX.cpp svn merge -c -114925 https://llvm.org/svn/llvm-project/cfe/trunk --- Reverse-merging r114925 into '.': G include/clang/AST/DeclCXX.h G lib/Sema/SemaDeclCXX.cpp G lib/AST/DeclCXX.cpp svn merge -c -114924 https://llvm.org/svn/llvm-project/cfe/trunk --- Reverse-merging r114924 into '.': G include/clang/AST/DeclCXX.h G lib/Sema/SemaDeclCXX.cpp G lib/Sema/SemaDecl.cpp G lib/AST/DeclCXX.cpp U lib/AST/ASTContext.cpp svn merge -c -114921 https://llvm.org/svn/llvm-project/cfe/trunk --- Reverse-merging r114921 into '.': G include/clang/AST/DeclCXX.h G lib/Sema/SemaDeclCXX.cpp G lib/Sema/SemaDecl.cpp G lib/AST/DeclCXX.cpp llvm-svn: 114933
-
Douglas Gregor authored
HasTrivialConstructor, HasTrivialCopyConstructor, HasTrivialCopyAssignment, and HasTrivialDestructor bits in CXXRecordDecl's methods. This completes all but the Abstract bit and the set of conversion functions, both of which will require a bit of extra work. The majority of <rdar://problem/8459981> is now implemented (but not all of it). llvm-svn: 114929
-
Douglas Gregor authored
Polymorphic bit in CXXRecordDecl itself. Yes, this is also part of <rdar://problem/8459981>. llvm-svn: 114925
-
Douglas Gregor authored
in CXXRecordDecl itself. Yes, this is also part of <rdar://problem/8459981>. llvm-svn: 114924
-
Sebastian Redl authored
llvm-svn: 114922
-
Douglas Gregor authored
and PlainOldData bits in CXXRecordDecl itself. Another milepost on the road toward <rdar://problem/8459981>. llvm-svn: 114921
-
Douglas Gregor authored
DeclaredDestructor and UserDeclaredDestructor bits in CXXRecordDecl itself. Another step on the road to <rdar://problem/8459981>. llvm-svn: 114918
-
Fariborz Jahanian authored
passed to nonnull attributed functions. Implements radar 6857843. llvm-svn: 114917
-
Douglas Gregor authored
already be determined by isCopyAssignmentOperator(), and was set too late in the process for all clients to see the appropriate value. Cleanup only; no functionality change. llvm-svn: 114916
-
Sebastian Redl authored
When chaining PCHs, only write PPRecords that don't come from PCH, and give them the correct IDs. Fixes a crash in XCode. llvm-svn: 114913
-
Douglas Gregor authored
CXXRecordDecl::DefinitionData::DeclaredCopyAssignment, for copy-assignment operators. Another step toward <rdar://problem/8459981>. llvm-svn: 114899
-
- Sep 27, 2010
-
-
Bill Wendling authored
"shift with non-immediate" intrinsics. It gets here because we they aren't immediates anymore. llvm-svn: 114890
-
Douglas Gregor authored
DeclaredCopyConstructor bits in CXXRecordDecl's DefinitionData structure. Rather than having Sema call addedConstructor or set the bits directly at semi-random places, move all of the logic for managing these bits into CXXRecordDecl itself and tie the addedConstructor call into DeclContext::addDecl(). This makes it easier for AST-building clients to get the right bits set in DefinitionData, and is one small part of <rdar://problem/8459981>. llvm-svn: 114889
-
Nico Weber authored
Correctly set "explicit template instantiation" kind on inner structs of templates whose explicit instantiation is first declared and then defined. Fixes http://llvm.org/pr8207 llvm-svn: 114874
-
Nico Weber authored
llvm-svn: 114869
-
Daniel Dunbar authored
llvm-svn: 114867
-
Daniel Dunbar authored
llvm-svn: 114866
-
Daniel Dunbar authored
llvm-svn: 114865
-