- Feb 21, 2012
-
-
Howard Hinnant authored
Modernize relational operators for shared_ptr and unique_ptr. This includes adding support for nullptr, and using less<T*>. Fixes http://llvm.org/bugs/show_bug.cgi?id=12056. llvm-svn: 151084
-
Evan Cheng authored
llvm-svn: 151083
-
Douglas Gregor authored
expression after we've finished the function body of the corresponding function call operator. Otherwise, ActOnFinishFunctionBody() will see the (unfinished) evaluation context of the lambda expression itself. Fixes PR12031. llvm-svn: 151082
-
Richard Smith authored
is non-null when diagnosing a broken attempt to write a for-range-statement. llvm-svn: 151081
-
Jean-Daniel Dupas authored
When calling a non variadic format function(vprintf, vscanf, NSLogv, …), warn if the format string argument is a parameter that is not itself declared as a format string with compatible format. llvm-svn: 151080
-
Rafael Espindola authored
llvm-svn: 151079
-
Johnny Chen authored
llvm-svn: 151077
-
Douglas Gregor authored
arguments. There are two aspects to this: - Make sure that when marking the declarations referenced in a default argument, we don't try to mark local variables, both because it's a waste of time and because the semantics are wrong: we're not in a place where we could capture these variables again even if it did make sense. - When a lambda expression occurs in a default argument of a function template, make sure that the corresponding closure type is considered dependent, so that it will get properly instantiated. The second bit is a bit of a hack; to fix it properly, we may have to rearchitect our handling of default arguments, parsing them only after creating the function definition. However, I'd like to separate that work from the lambdas work. llvm-svn: 151076
-
Benjamin Kramer authored
llvm-svn: 151074
-
Greg Clayton authored
llvm-svn: 151072
-
Benjamin Kramer authored
llvm-svn: 151071
-
Jim Ingham authored
llvm-svn: 151069
-
Greg Clayton authored
incorrect values and also fire an assertion. llvm-svn: 151066
-
Timur Iskhodzhanov authored
llvm-svn: 151059
-
Jeffrey Yasskin authored
that's installed. llvm-svn: 151058
-
Alexander Potapenko authored
llvm-svn: 151057
-
Benjamin Kramer authored
llvm-svn: 151056
-
Benjamin Kramer authored
This transformation is not safe in some pathological cases (signed icmp of pointers should be an extremely rare thing, but it's valid IR!). Add an explanatory comment. Kudos to Duncan for pointing out this edge case (and not giving up explaining it until I finally got it). llvm-svn: 151055
-
Duncan Sands authored
and into StringRef.cpp, which is where the other StringRef stuff is. llvm-svn: 151054
-
NAKAMURA Takumi authored
llvm-svn: 151053
-
Jay Foad authored
llvm-svn: 151052
-
Timur Iskhodzhanov authored
llvm-svn: 151051
-
Chandler Carruth authored
the normalize routine, especially the empty while loops. llvm-svn: 151050
-
Jay Foad authored
using a DenseMap and Talin's new GeneralHash, avoiding the need for a temporary std::vector on every lookup. Patch by Meador Inge! llvm-svn: 151049
-
Chandler Carruth authored
days. No functionality changed. llvm-svn: 151048
-
Chandler Carruth authored
They're private static methods but we can just make them static functions in the implementation. It makes the implementations a touch more wordy, but takes another chunk out of the header file. Also, take the opportunity to switch the names to the new coding conventions. No functionality changed here. llvm-svn: 151047
-
Alexander Potapenko authored
Sometimes DescribeStackAddress is called before another thread's FakeStack is initialized, which could previously cause a check to fire. llvm-svn: 151046
-
Chandler Carruth authored
Somehow, I even missed the ones I wrote just the other day... Thanks to Matt for the code review. llvm-svn: 151045
-
Alexey Samsonov authored
llvm-svn: 151044
-
Craig Topper authored
llvm-svn: 151043
-
Alexey Samsonov authored
llvm-svn: 151042
-
Craig Topper authored
In generated RegisterInfo files, replace a pointer to the end of an array with just the size of the array to avoid relocations. llvm-svn: 151041
-
Craig Topper authored
Merge some tables in generated RegisterInfo file. Store indices into larger table instead of pointers to reduce relocations and shrink table size on 64-bit builds. Shaves ~24K off X86MCTargetDesc.o. Accidentally commited only part of this in r151038. llvm-svn: 151039
-
Craig Topper authored
Merge some tables in generated RegisterInfo file. Store indices into larger table instead of pointers to reduce relocations and shrink table size on 64-bit builds. Shaves ~24K off X86MCTargetDesc.o llvm-svn: 151038
-
Argyrios Kyrtzidis authored
llvm-svn: 151037
-
Craig Topper authored
llvm-svn: 151036
-
Jason Molenda authored
is not available (LLDB_DISABLE_PYTHON is defined). Change build-swig-Python.sh to emit an empty LLDBPythonWrap.cpp file if this build is LLDB_DISABLE_PYTHON. Change the "Copy to Xcode.app" shell script phase in the lldb.xcodeproj to only do this copying for Mac native builds. llvm-svn: 151035
-
Greg Clayton authored
bundle that didn't contain an executable. llvm-svn: 151034
-
Argyrios Kyrtzidis authored
and useable while debugging. llvm-svn: 151033
-
Andrew Trick authored
Passes after RegAlloc should be able to rely on MRI->getNumVirtRegs() == 0. This makes sharing code for pre/postRA passes more robust. Now, to check if a pass is running before the RA pipeline begins, use MRI->isSSA(). To check if a pass is running after the RA pipeline ends, use !MRI->getNumVirtRegs(). PEI resets virtual regs when it's done scavenging. PTX will either have to provide its own PEI pass or assign physregs. llvm-svn: 151032
-