- Mar 12, 2012
-
-
Douglas Gregor authored
functions that includes an explicit template argument list, perform an inner deduction against each of the function templates in that list and, if successful, use the result of that deduction for the outer template argument deduction. Fixes PR11713. llvm-svn: 152575
-
Eric Christopher authored
Patch by John Spencer llvm-svn: 152574
-
Eli Friedman authored
Make sure we treat variables captured by reference in lambda as modifiable lvalues. Regression from r152491. Fixes PR12248. llvm-svn: 152573
-
Bill Wendling authored
--- Reverse-merging r152486 into '.': U lib/CodeGen/SjLjEHPrepare.cpp llvm-svn: 152571
-
http://libcxx.llvm.orgEnrico Granata authored
std::string has a summary provider std::vector std::list and std::map have both a summary and a synthetic children provider Given the usage of a custom namespace (std::__1::classname) for the implementation of libc++, we keep both libstdcpp and libc++ formatters enabled at the same time since that raises no conflicts and enabled for seamless transition between the two The formatters for libc++ reside in a libcxx category, and are loaded from libcxx.py (to be found in examples/synthetic) The formatters-stl test cases have been divided to be separate for libcxx and libstdcpp. This separation is necessary because (a) we need different compiler flags for libc++ than for libstdcpp (b) libc++ inlines a lot more than libstdcpp and some code changes were required to accommodate this difference llvm-svn: 152570
-
rdar://problem/11030692Greg Clayton authored
SBProcess::PutSTDIN() was not working for a few builds on darwin when using debugserver. This is now fixed. llvm-svn: 152569
-
Sean Callanan authored
llvm-svn: 152568
-
Kostya Serebryany authored
llvm-svn: 152567
-
Argyrios Kyrtzidis authored
serialized -Don't add methods of invalid objc containers to the global method pool. This protects us from trying to serialize a method whose container was not serialized. Part of rdar://11007039. llvm-svn: 152566
-
Michael J. Spencer authored
llvm-svn: 152565
-
Jordy Rose authored
ObjCBoolLiterals (__objc_yes/__objc_no) behave like C++ booleans (true/false). They are NOT objects. llvm-svn: 152564
-
Fariborz Jahanian authored
will reside in .objc_ivar$B sections. // rdar://11023490 llvm-svn: 152563
-
David Blaikie authored
llvm-svn: 152559
-
Timur Iskhodzhanov authored
llvm-svn: 152557
-
Chandler Carruth authored
candidate set for subsequent inlining, try to simplify the arguments to the inner call site now that inlining has been performed. The goal here is to propagate and fold constants through deeply nested call chains. Without doing this, we loose the inliner bonus that should be applied because the arguments don't match the exact pattern the cost estimator uses. Reviewed on IRC by Benjamin Kramer. llvm-svn: 152556
-
Chandler Carruth authored
Typically instcombine has handled this, but pointer differences show up in several contexts where we would like to get constant folding, and cannot afford to run instcombine. Specifically, I'm working on improving the constant folding of arguments used in inline cost analysis with instsimplify. Doing this in instsimplify implies some algorithm changes. We have to handle multiple layers of all-constant GEPs because instsimplify cannot fold them into a single GEP the way instcombine can. Also, we're only interested in all-constant GEPs. The result is that this doesn't really replace the instcombine logic, it's just complimentary and focused on constant folding. Reviewed on IRC by Benjamin Kramer. llvm-svn: 152555
-
Chandler Carruth authored
llvm-svn: 152554
-
Duncan Sands authored
llvm-svn: 152553
-
James Molloy authored
llvm-svn: 152552
-
Richard Smith authored
being defined here: [] () -> struct S {} does not define struct S. In passing, implement DR1318 (syntactic disambiguation of 'final'). llvm-svn: 152551
-
Richard Smith authored
defined here, but not semantically, so new struct S {}; is always ill-formed, even if there is a struct S in scope. We also had a couple of bugs in ParseOptionalTypeSpecifier caused by it being under-loved (due to it only being used in a few places) so merge it into ParseDeclarationSpecifiers with a new DeclSpecContext. To avoid regressing, this required improving ParseDeclarationSpecifiers' diagnostics in some cases. This also required teaching ParseSpecifierQualifierList about constexpr... which incidentally fixes an issue where we'd allow the constexpr specifier in other bad places. llvm-svn: 152549
-
Bob Wilson authored
<rdar://problem/11024696> llvm-svn: 152548
-
Nick Lewycky authored
llvm-svn: 152547
-
- Mar 11, 2012
-
-
Fariborz Jahanian authored
statically writter metadata. // rdar://11023490 llvm-svn: 152546
-
Benjamin Kramer authored
llvm-svn: 152545
-
Benjamin Kramer authored
llvm-svn: 152544
-
Douglas Gregor authored
llvm-svn: 152543
-
Benjamin Kramer authored
DwarfDebug: Store the filename/dirname pair as a zero-separated string in a stringmap, instead of using a highly inefficient std::map of a pair of std::strings. llvm-svn: 152541
-
Timur Iskhodzhanov authored
llvm-svn: 152540
-
NAKAMURA Takumi authored
To link with -static -lclang, linker tries to seek not libclang.so, clang.dll nor libclang.dll.a, but libclang.a. USEDLIBS should have correct dependencies for -static. (In contrast, USEDLIBS=libclang.so might be enough w/o -static) FYI, cygwin build (in buildbot) is using -static, due to avoiding weirdness of extremely slower startup lag of clang.exe. llvm-svn: 152539
-
Craig Topper authored
llvm-svn: 152538
-
Craig Topper authored
llvm-svn: 152537
-
David Blaikie authored
The member variable is always "LangOpts" and the member function is always "getLangOpts". Reviewed by Chris Lattner llvm-svn: 152536
-
Craig Topper authored
llvm-svn: 152535
-
Stepan Dyatkovskiy authored
Renamed methods caseBegin, caseEnd and caseDefault with case_begin, case_end, and case_default. Added some notes relative to case iterators. llvm-svn: 152533
-
Stepan Dyatkovskiy authored
Renamed methods caseBegin, caseEnd and caseDefault with case_begin, case_end, and case_default. Added some notes relative to case iterators. llvm-svn: 152532
-
Douglas Gregor authored
llvm-svn: 152531
-
Douglas Gregor authored
structural comparison of non-dependent types. Otherwise, we end up rejecting cases where the non-dependent types don't match due to qualifiers in, e.g., a pointee type. Fixes PR12132. llvm-svn: 152529
-
Richard Smith authored
collection'. Keep it in the table to match gcc's table, but mark it N/A. llvm-svn: 152528
-
Gregory Szorc authored
It doesn't currently support the op info and symbol lookup callbacks, but it is better than nothing. llvm-svn: 152527
-