- Oct 08, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 83562
-
Ted Kremenek authored
llvm-svn: 83560
-
Anders Carlsson authored
If a global initializer has a non-trivial constructor or destructor, we never want to defer generation of it, even if it is declared static. With this change we're finally able to compile and run the (infamous) #include <string> #include <iostream> int main(int argc, char **argv) { std::cout << "Hello, World" << std::endl; } $ clang hello.cpp -lstdc++ -o hello $ ./hello Hello, World llvm-svn: 83559
-
Anders Carlsson authored
llvm-svn: 83558
-
Anders Carlsson authored
llvm-svn: 83557
-
Richard Osborne authored
llvm-svn: 83556
-
Dan Gohman authored
to declare that they preserve other passes without needing to pull in additional header file or library dependencies. Convert MachineFunctionPass and CodeGenLICM to make use of this. llvm-svn: 83555
-
Douglas Gregor authored
Also, eliminate a redundant diagnostic by marking a variable declared with incomplete type as an invalid declaration. llvm-svn: 83553
-
Fariborz Jahanian authored
functions. llvm-svn: 83552
-
Chris Lattner authored
llvm-svn: 83551
-
Douglas Gregor authored
function and member function templates that are not definitions. Add more tests to ensure that explicit specializations of member function templates prevent instantiation. llvm-svn: 83550
-
Richard Osborne authored
llvm-svn: 83549
-
Douglas Gregor authored
llvm-svn: 83548
-
Douglas Gregor authored
templates, and keep track of how those member classes were instantiated or specialized. Make sure that we don't try to instantiate an explicitly-specialized member class of a class template, when that explicit specialization was a declaration rather than a definition. llvm-svn: 83547
-
Douglas Gregor authored
track of the kind of specialization or instantiation. Also, check the scope of the specialization and ensure that a specialization declaration without an initializer is not a definition. llvm-svn: 83533
-
Chris Lattner authored
llvm-svn: 83532
-
Chris Lattner authored
"LoopVR's logic was copied into ScalarEvolution::getUnsignedRange and ::getSignedRange. Please delete LoopVR." llvm-svn: 83531
-
Chris Lattner authored
llvm-svn: 83530
-
Mikhail Glushenkov authored
Forgot about the need to reconfigure after modifying Base.td.in.... llvm-svn: 83529
-
Bob Wilson authored
llvm-svn: 83528
-
Bob Wilson authored
llvm-svn: 83526
-
Mikhail Glushenkov authored
llvm-svn: 83525
-
Mikhail Glushenkov authored
Important, for example, when calling 'gcc a.o b.o c.o -lD -lE -lF'. llvm-svn: 83524
-
Jim Grosbach authored
llvm-svn: 83522
-
Jim Grosbach authored
llvm-svn: 83521
-
Douglas Gregor authored
template instantiation of a member function of a class template. FIXME -= 2; llvm-svn: 83520
-
Jim Grosbach authored
bugfix. The target may use virtual registers that aren't tracked for re-use but are allocated by the scavenger. The re-use algorithm needs to watch for that. llvm-svn: 83519
-
Bob Wilson authored
llvm-svn: 83518
-
Bob Wilson authored
llvm-svn: 83513
-
Douglas Gregor authored
pointer. Yay, PointerIntPair. llvm-svn: 83512
-
Douglas Gregor authored
specialization kind is TSK_ImplicitInstantiation. Previously, we would end up implicitly instantiating functions that had explicit specialization declarations or explicit instantiation declarations (with no corresponding definitions). llvm-svn: 83511
-
Jeffrey Yasskin authored
already on the worklist, and print Visited when an instruction is about to be visited. Net, on one input, this reduced the output size by at least 9x. llvm-svn: 83510
-
Douglas Gregor authored
function of a class template was implicitly instantiated, explicitly instantiated (declaration or definition), or explicitly specialized. The same MemberSpecializationInfo structure will be used for static data members and member classes as well. llvm-svn: 83509
-
Bob Wilson authored
llvm-svn: 83508
-
Bob Wilson authored
llvm-svn: 83507
-
Bob Wilson authored
llvm-svn: 83506
-
John McCall authored
Don't create a new declaration for friend classes if a declaration already exists. llvm-svn: 83505
-
Jeffrey Yasskin authored
it the default, and works around a broken libopagent on some Debian systems. llvm-svn: 83503
-
Bob Wilson authored
llvm-svn: 83502
-
Jim Grosbach authored
llvm-svn: 83501
-