- Mar 31, 2010
-
-
Chris Lattner authored
addition to the inherent win, this eliminates the pointless cost of going through the name -> mdkind stringmap that we were paying. llvm-svn: 99983
-
John McCall authored
a lot for me on selfhosts, I dunno why. llvm-svn: 99981
-
John McCall authored
llvm-svn: 99980
-
John McCall authored
llvm-svn: 99979
-
Daniel Dunbar authored
IRGen: Move the auxiliary data structures tracking AST -> LLVM mappings out of CodeGenTypes, to per-record CGRecordLayout structures. - I did a cursory check that this was perf neutral, FWIW. llvm-svn: 99978
-
Daniel Dunbar authored
CGRecordLayoutBuilder: Switch unions to use same mechanism for tracking field and bit-field info as structs. - Anders, please check. llvm-svn: 99977
-
Argyrios Kyrtzidis authored
llvm-svn: 99973
-
Argyrios Kyrtzidis authored
llvm-svn: 99972
-
Douglas Gregor authored
the existing (and already well-tested) linkage computation for types, with minor tweaks for dynamic classes and (pointers to) incomplete types. Fixes PR6597. llvm-svn: 99968
-
Daniel Dunbar authored
llvm-svn: 99967
-
John McCall authored
llvm-svn: 99964
-
John McCall authored
null checks, and make sure we elide null checks when accessing base class members. llvm-svn: 99963
-
Jakob Stoklund Olesen authored
llvm-svn: 99962
-
Daniel Dunbar authored
llvm-svn: 99960
-
Fariborz Jahanian authored
on retain properties. (radar 7809468). llvm-svn: 99951
-
Bob Wilson authored
llvm-svn: 99949
-
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
-