- Mar 31, 2010
-
-
Daniel Dunbar authored
llvm-svn: 99947
-
Daniel Dunbar authored
llvm-svn: 99946
-
Daniel Dunbar authored
llvm-svn: 99945
-
Daniel Dunbar authored
llvm-svn: 99944
-
John McCall authored
llvm-svn: 99942
-
Rafael Espindola authored
Fixes PR3782. llvm-svn: 99940
-
Argyrios Kyrtzidis authored
When "delayed parsing" C++ default arguments, if there is an error, there may be tokens left in the token stream that will interfere (they will be parsed as if they are after the class' '}') and a crash will occur because the CachedTokens that holds them will be deleted while the lexer is still using them. Make sure that the tokens of default args are removed from the token stream. Fixes PR6647. llvm-svn: 99939
-
Douglas Gregor authored
name in the outermost block of a if/else that declares the same name is ill-formed. Turns out that Clang and MSVC were right about PR6739; GCC is too lax. llvm-svn: 99937
-
- Mar 30, 2010
-
-
John McCall authored
the underlying/instantiated decl) through a lot of API, including "intermediate" MemberExprs required for (e.g.) template instantiation. This is necessary because of the access semantics of member accesses to using declarations: only the base class *containing the using decl* need be accessible from the naming class. This allows us to complete an access-controlled selfhost, if there are no recent regressions. llvm-svn: 99936
-
Rafael Espindola authored
double 0.000000e+000 instead of double 0.000000e+00 llvm-svn: 99932
-
Mon P Wang authored
llvm-svn: 99930
-
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
-
Daniel Dunbar authored
llvm-svn: 99896
-
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
-
Chris Lattner authored
rdar://7781603 llvm-svn: 99878
-
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
llvm-svn: 99863
-
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
-
Anders Carlsson authored
llvm-svn: 99860
-
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
-
-
Gabor Greif authored
llvm-svn: 99843
-
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
-