- Mar 30, 2010
-
-
Douglas Gregor authored
involving substitution of deduced template arguments into a class template partial specialization or function template, or when substituting explicitly-specific template arguments into a function template. We now print the actual deduced argument bindings so the user can see what got deduced. llvm-svn: 99923
-
Ted Kremenek authored
Fixes a false positive reported in PR 6288. llvm-svn: 99922
-
Ted Kremenek authored
llvm-svn: 99921
-
Rafael Espindola authored
This introduces FunctionType::ExtInfo to hold the calling convention and the noreturn attribute. The next patch will extend it to include the regparm attribute and fix the bug. llvm-svn: 99920
-
Douglas Gregor authored
dyn_cast) invocations for C++ and Objective-C types, declarations, expressions, and statements. The statistics will be printed when -print-stats is provided to Clang -cc1, with results such as: 277073 clang - Number of checks for C++ declaration nodes 13311 clang - Number of checks for C++ expression nodes 18 clang - Number of checks for C++ statement nodes 174182 clang - Number of checks for C++ type nodes 92300 clang - Number of checks for Objective-C declaration nodes 9800 clang - Number of checks for Objective-C expression nodes 7 clang - Number of checks for Objective-C statement nodes 65733 clang - Number of checks for Objective-C type nodes The statistics are only gathered when NDEBUG is not defined, since they introduce potentially-expensive operations into very low-level routines (isa). llvm-svn: 99912
-
Ted Kremenek authored
llvm-svn: 99904
-
Fariborz Jahanian authored
objective-c methods. (radar 7418262). llvm-svn: 99903
-
Rafael Espindola authored
class has no key function. Fix PR6738. llvm-svn: 99900
-
Douglas Gregor authored
llvm-svn: 99894
-
Anders Carlsson authored
Fix a bug where we would incorrectly report an error about initializing two fields in an anonymous struct. llvm-svn: 99891
-
Anders Carlsson authored
llvm-svn: 99889
-
Benjamin Kramer authored
llvm-svn: 99884
-
Anders Carlsson authored
llvm-svn: 99869
-
Anders Carlsson authored
llvm-svn: 99868
-
Anders Carlsson authored
Use the new function in EmitClassAggrMemberwiseCopy, fixing the same assert as seen in PR6628 but for arrays this time. llvm-svn: 99867
-
Anders Carlsson authored
llvm-svn: 99866
-
Anders Carlsson authored
llvm-svn: 99865
-
Anders Carlsson authored
Handle default arguments when calling copy constructors for bases or members when synthesizing a copy constructor. Fixes PR6628. llvm-svn: 99864
-
Anders Carlsson authored
Flip the switch and use the new vtable layout code for everything. I've verified that this passes a self-host but I'll let the bots self host as well before removing the now dead code. llvm-svn: 99861
-
Ted Kremenek authored
This reduces '-c -g' time on one file in 403.gcc by 12%. llvm-svn: 99857
-
Douglas Gregor authored
storage for that partial diagnostic via the ASTContext's BumpPtrAllocator rather than using up slots in the ASTContext's cache. Now that we do this, we don't have to worry about destroying dependent diagnostics when destroying a DependentStoredDeclsMap. llvm-svn: 99854
-
Douglas Gregor authored
cache of PartialDiagnostic::Storage objects into an allocator within the ASTContext. This eliminates a significant amount of malloc traffic, for a 10% performance improvement in -fsyntax-only wall-clock time with 403.gcc's combine.c. Also, eliminate the RequireNonAbstractType hack I put in earlier, which was but a symptom of this larger problem. Fixes <rdar://problem/7806091>. llvm-svn: 99849
-
- Mar 29, 2010
-
-
Douglas Gregor authored
a 2.47% speedup in 403.gcc. llvm-svn: 99830
-
Anders Carlsson authored
When collecting virtual bases it's very important to use the canonical type of the base class. Otherwise, we might add the same virtual base class twice if the virtual base is an instantiated template. Fixes PR6251. llvm-svn: 99829
-
Ted Kremenek authored
llvm-svn: 99828
-
Ted Kremenek authored
on one .i file from 403.gcc by 0.5%. llvm-svn: 99823
-
Chris Lattner authored
PR6661, patch by Ori Avtalion! llvm-svn: 99821
-
Chris Lattner authored
Anton Yartsev! llvm-svn: 99817
-
Anders Carlsson authored
llvm-svn: 99812
-
Douglas Gregor authored
end of a struct/class/union in C++, from Justin Bogner! llvm-svn: 99811
-
Anders Carlsson authored
llvm-svn: 99807
-
Anders Carlsson authored
Fix a nasty bug in the virtual base computation which would lead to us initializing virtual bases in the wrong order. llvm-svn: 99806
-
Rafael Espindola authored
This patch moves some methods from QualType to Type and changes the users to use -> instead of . llvm-svn: 99805
-
Anders Carlsson authored
More vtable work - it's not possible to use the new vtable code for everything by setting a flag inside CGVtable.cpp. My plan is to run some tests and bootstrap and once that's done flip the bit. llvm-svn: 99804
-
Anders Carlsson authored
Only add thunks for the most derived class. This fixes some link errors I was seeing in files generated by the vtable tester utility. llvm-svn: 99801
-
Anders Carlsson authored
Flip the switch to always get vtables from the VTT when necessary, I've verified that clang bootstraps with this. llvm-svn: 99800
-
Anders Carlsson authored
llvm-svn: 99799
-
Anders Carlsson authored
llvm-svn: 99798
-
Anders Carlsson authored
llvm-svn: 99793
-
Anders Carlsson authored
Make sure to sort the vtable thunks by their vtable index :) With this we now pass the test from http://www.codesourcery.com/public/cxx-abi/abi-examples.html#vtable-ctor successfully. llvm-svn: 99792
-