- Mar 13, 2012
-
-
Ted Kremenek authored
llvm-svn: 152584
-
Bill Wendling authored
* s/AddDirectoryList/addDirectoryList/ * Move the call to ::getenv into the function. * FileCheck-ize the testcase. llvm-svn: 152583
-
Kevin Enderby authored
Suggestion by Bill Wendling! llvm-svn: 152582
-
Benjamin Kramer authored
llvm-svn: 152581
-
Kevin Enderby authored
registers not both being 64-bit or both being 32-bit registers. llvm-svn: 152580
-
Bill Wendling authored
llvm-svn: 152579
-
Bill Wendling authored
The LIBRARY_PATH environment variable should be honored by clang. Have the driver pass the directories to the linker. <rdar://problem/9743567> and PR10296. llvm-svn: 152578
-
Benjamin Kramer authored
llvm-svn: 152577
-
Bill Wendling authored
llvm-svn: 152576
-
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
-
- Mar 12, 2012
-
-
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
-
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
-
- Mar 11, 2012
-
-
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
-