- Feb 17, 2010
-
-
Zhongxing Xu authored
For inline-based inter-procedural analysis, we will have multiple stack space regions. Use a dense map to store them. llvm-svn: 96472
-
Zhongxing Xu authored
llvm-svn: 96471
-
Daniel Dunbar authored
llvm-svn: 96469
-
Anders Carlsson authored
llvm-svn: 96461
-
Chandler Carruth authored
llvm-svn: 96459
-
Anders Carlsson authored
llvm-svn: 96455
-
Tanya Lattner authored
Do not add functions marked with the unused attribute to the list of unused functions to warn about. Update test case. llvm-svn: 96452
-
John McCall authored
and destructors when the two entities are semantically identical, i.e. when the class has no virtual base classes. We only do this for linkage types for which aliases are supported, i.e. internal and external, i.e. not linkonce. llvm-svn: 96451
-
Anders Carlsson authored
llvm-svn: 96449
-
Ted Kremenek authored
llvm-svn: 96447
-
Sanjiv Gupta authored
llvm-svn: 96446
-
Tanya Lattner authored
llvm-svn: 96444
-
Douglas Gregor authored
llvm-svn: 96442
-
Anders Carlsson authored
Correctly calculate base offsets for 'this' pointer adjustments involving virtual bases. This can't be tested yet due to lack of vcall offsets :) llvm-svn: 96441
-
Charles Davis authored
our own Chris Lattner). llvm-svn: 96431
-
Douglas Gregor authored
Check superclasses when merging two Objective-C @interfaces. llvm-svn: 96420
-
- Feb 16, 2010
-
-
John McCall authored
repeatedly reloading from an alloca. We still need to create the alloca for debug info purposes (although we currently create it in all cases because of some abstraction boundaries that're hard to break down). llvm-svn: 96403
-
Devang Patel authored
llvm-svn: 96397
-
Douglas Gregor authored
which describes temporary objects of class type in C++. Use this to provide a more-specific, remappable diagnostic when takin the address of such a temporary. llvm-svn: 96396
-
Daniel Dunbar authored
llvm-svn: 96376
-
Daniel Dunbar authored
IRgen: Add CreateIRTemp, which creates a temporary alloca but with type converted "not-for-memory". Dunno a better name. llvm-svn: 96374
-
Daniel Dunbar authored
llvm-svn: 96373
-
Douglas Gregor authored
disaster. Fixes PR6161. llvm-svn: 96371
-
Douglas Gregor authored
now cope with the destruction of types named as dependent templates, e.g., y->template Y<T>::~Y() Nominally, we implement C++0x [basic.lookup.qual]p6. However, we don't follow the letter of the standard here because that would fail to parse template<typename T, typename U> X0<T, U>::~X0() { } properly. The problem is captured in core issue 339, which gives some (but not enough!) guidance. I expect to revisit this code when the resolution of 339 is clear, and/or we start capturing better source information for DeclarationNames. Fixes PR6152. llvm-svn: 96367
-
Chris Lattner authored
indicate that it was enabled with -pedantic so people know why they're getting them: $ printf "int x;" | clang -xc - -pedantic <stdin>:1:7: warning: no newline at end of file [-pedantic] int x; ^ llvm-svn: 96365
-
Charles Davis authored
Win32-specific. Also, fix a test to use FileCheck instead of grepping LLVM IR. llvm-svn: 96364
-
Chris Lattner authored
llvm-svn: 96363
-
Chris Lattner authored
llvm-svn: 96362
-
Fariborz Jahanian authored
llvm-svn: 96361
-
Anders Carlsson authored
llvm-svn: 96355
-
Anders Carlsson authored
llvm-svn: 96354
-
Fariborz Jahanian authored
causes C++ compile error (radar 7651312). llvm-svn: 96352
-
Anders Carlsson authored
llvm-svn: 96351
-
Benjamin Kramer authored
llvm-svn: 96342
-
Ted Kremenek authored
llvm-svn: 96341
-
John McCall authored
llvm-svn: 96335
-
Anders Carlsson authored
llvm-svn: 96329
-
Anders Carlsson authored
llvm-svn: 96328
-
John McCall authored
the offset to the virtual bases statically inside of relying on the virtual base offsets in the object's vtable(s). This is both more efficient and sound against the destructor's manipulation of the vtables. Also extract a few helper routines. Oh and we seem to pass all tests with an optimized clang now. llvm-svn: 96327
-
John McCall authored
unused-value warnings. This is a common macro idiom. llvm-svn: 96326
-