| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
memmove, and memset
llvm-svn: 99930
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
'const'.
Fixes a false positive reported in PR 6288.
llvm-svn: 99922
|
| |
|
|
| |
llvm-svn: 99921
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
6302.
llvm-svn: 99904
|
| |
|
|
|
|
| |
objective-c methods. (radar 7418262).
llvm-svn: 99903
|
| |
|
|
|
|
|
|
| |
class has no key function.
Fix PR6738.
llvm-svn: 99900
|
| |
|
|
| |
llvm-svn: 99894
|
| |
|
|
|
|
| |
fields in an anonymous struct.
llvm-svn: 99891
|
| |
|
|
| |
llvm-svn: 99889
|
| |
|
|
| |
llvm-svn: 99884
|
| |
|
|
| |
llvm-svn: 99869
|
| |
|
|
| |
llvm-svn: 99868
|
| |
|
|
|
|
| |
as seen in PR6628 but for arrays this time.
llvm-svn: 99867
|
| |
|
|
| |
llvm-svn: 99866
|
| |
|
|
|
|
| |
temporaries code.
llvm-svn: 99865
|
| |
|
|
|
|
| |
when synthesizing a copy constructor. Fixes PR6628.
llvm-svn: 99864
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
This reduces '-c -g' time on one file in 403.gcc by 12%.
llvm-svn: 99857
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
a 2.47% speedup in 403.gcc.
llvm-svn: 99830
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 99828
|
| |
|
|
|
|
|
|
| |
codegen time
on one .i file from 403.gcc by 0.5%.
llvm-svn: 99823
|
| |
|
|
|
|
| |
PR6661, patch by Ori Avtalion!
llvm-svn: 99821
|
| |
|
|
|
|
| |
Anton Yartsev!
llvm-svn: 99817
|
| |
|
|
| |
llvm-svn: 99812
|
| |
|
|
|
|
| |
end of a struct/class/union in C++, from Justin Bogner!
llvm-svn: 99811
|
| |
|
|
| |
llvm-svn: 99807
|
| |
|
|
|
|
| |
initializing virtual bases in the wrong order.
llvm-svn: 99806
|
| |
|
|
|
|
|
| |
This patch moves some methods from QualType to Type and changes the users to
use -> instead of .
llvm-svn: 99805
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
was seeing in files generated by the vtable tester utility.
llvm-svn: 99801
|
| |
|
|
|
|
| |
verified that clang bootstraps with this.
llvm-svn: 99800
|
| |
|
|
| |
llvm-svn: 99799
|
| |
|
|
| |
llvm-svn: 99798
|
| |
|
|
| |
llvm-svn: 99793
|
| |
|
|
|
|
| |
now pass the test from http://www.codesourcery.com/public/cxx-abi/abi-examples.html#vtable-ctor successfully.
llvm-svn: 99792
|
| |
|
|
| |
llvm-svn: 99791
|
| |
|
|
|
|
| |
vtable.
llvm-svn: 99790
|
| |
|
|
| |
llvm-svn: 99788
|
| |
|
|
|
|
| |
-fdump-vtable-layouts since it doesn't work 100% yet :)
llvm-svn: 99787
|
| |
|
|
|
|
| |
initializer and we weren't storing the secondary virtual pointer indices.
llvm-svn: 99786
|
| |
|
|
|
|
| |
pointer for all bases, even those without a vtable pointer :)
llvm-svn: 99777
|
| |
|
|
| |
llvm-svn: 99776
|
| |
|
|
|
|
| |
vtable pointer for non-virtual primary bases. We also do a pre-order traversal of the class hierarchy; this is necessary in order to get the right vbase offset offsets in base ctors/dtors.
llvm-svn: 99775
|
| |
|
|
| |
llvm-svn: 99773
|