- Feb 02, 2013
-
-
Richard Smith authored
designator" diagnostic with more correct and more human-friendly "cannot take address of rvalue of type 'T'". For the case of & &T::f, provide a custom diagnostic, rather than unhelpfully saying "cannot take address of rvalue of type '<overloaded function type>'". For the case of &array_temporary, treat it just like a class temporary (including allowing it as an extension); the existing diagnostic wording for the class temporary case works fine. llvm-svn: 174262
-
Richard Smith authored
Correctly classify T{} as an array temporary if T is an array of class type with nontrivial destructor. llvm-svn: 174261
-
Ted Kremenek authored
llvm-svn: 174260
-
Manman Ren authored
llvm-svn: 174259
-
Greg Clayton authored
set logfile=<path> set logmask=<num> But this opens the door for us to do much more. llvm-svn: 174258
-
Richard Smith authored
llvm-svn: 174257
-
Ted Kremenek authored
Turns out we didn't update scan-build to work with HTML files in nested directories. llvm-svn: 174256
-
Michael Gottesman authored
llvm-svn: 174255
-
Michael Gottesman authored
llvm-svn: 174254
-
Michael Gottesman authored
On platforms which do not support ARC natively, do not mark objc_retain/objc_release as "nonlazybind". rdar://13108298. rdar://13129783. llvm-svn: 174253
-
Ted Kremenek authored
llvm-svn: 174252
-
Bill Wendling authored
llvm-svn: 174251
-
Bill Wendling authored
Use the AttributeSet's iterators in AttrBuilder::hasAttributes() when determining of the intersection of the AttrBuilder and AttributeSet is non-null. llvm-svn: 174250
-
David Blaikie authored
This reverts commit 1513eb9284c23acfd19cf742b95996fbb11ca741. llvm-svn: 174249
-
David Blaikie authored
Based on post-commit review by Paul Robinson. llvm-svn: 174248
-
David Blaikie authored
This addresses several (not all) debug info tests that use explicit metadata numbers. Wherever the same number appeared more than once in a test I used a named match to ensure the same number appeared in all those cases (this may still be overly constraining test cases as they may not have actually cared about that relationship). For one-off numbers I just replaced them with an unnamed regex. This may underconstrain poorly written test cases that were interested in checking that certain metadata nodes were related but didn't actually match on all the related nodes numbers. llvm-svn: 174247
-
David Blaikie authored
llvm-svn: 174246
-
Anna Zaks authored
Inlining these functions is essential for correctness. We often have cases where we do not inline calls. For example, the shallow mode and when reanalyzing previously inlined ObjC methods as top level. llvm-svn: 174245
-
Anna Zaks authored
llvm-svn: 174244
-
Anna Zaks authored
llvm-svn: 174243
-
Nick Lewycky authored
says, but that's a defect (to be filed). "Cls::purevfn()" is still an odr use. Also fixes a bug that caused us to not mark the function referenced just because we didn't want to mark it odr used. llvm-svn: 174242
-
Nick Lewycky authored
llvm-svn: 174241
-
Nick Lewycky authored
says, but that's a defect (to be filed). "Cls::purevfn()" is still an odr use. Also fixes a bug in the previous patch that caused us to not mark the function referenced just because we didn't want to mark it odr used. llvm-svn: 174240
-
Shuxin Yang authored
Fix a bug in DAGCombine. The symptom is mistakenly optimizing expression "x + x*x" into "x * 3.0". llvm-svn: 174239
-
Dmitri Gribenko authored
Also migrate all clients from the old API. llvm-svn: 174238
-
Manman Ren authored
llvm-svn: 174237
-
Enrico Granata authored
It is better practice and, also, it is not clear whether std::auto_ptr<> is smart enough to know about delete[] vs. delete llvm-svn: 174236
-
Manman Ren authored
Testing case is reduced from MultiSource/BenchMarks/Prolangs-C++/deriv1. rdar://problem/13071590 llvm-svn: 174235
-
Douglas Gregor authored
Different modules may have different views of the various "special" types in the AST, such as the redefinition type for "id". Merge those types rather than only considering the redefinition types for the first AST file loaded. llvm-svn: 174234
-
rdar://problem/13050227Greg Clayton authored
Added a regular expression command called "_regexp-list" which mimics the GDB "line" command in the following forms: LINENUM, to list around that line in current file, FILE:LINENUM, to list around that line in that file, FUNCTION, to list around beginning of that function, *ADDRESS, to list around the line containing that address. ADDRESS, same as above, but don't require a '*' as long as ADDRESS is hex llvm-svn: 174233
-
Bill Schmidt authored
llvm-svn: 174232
-
rdar://problem/12693921Greg Clayton authored
Added the ability to send monitor command to the remote GDB server with "process plugin packet monitor". llvm-svn: 174231
-
- Feb 01, 2013
-
-
Bill Schmidt authored
llvm-svn: 174230
-
NAKAMURA Takumi authored
llvm-svn: 174229
-
Bill Wendling authored
This Constant could be an aggregate to represent multiple values. llvm-svn: 174228
-
rdar://problem/13130975Greg Clayton authored
Class global variables were not being linked correctly when debugging with DWARF in .o files. llvm-svn: 174227
-
rdar://problem/13092722Greg Clayton authored
Fix in loading mach files from memory when using DynamicLoaderMacOSXDYLD. Removed the uuid mismatch warning that could be spit out and any time during debugging and removed the test case that was looking for that. Currently the "add-dsym" or "target symbols add" command will report an error when the UUID's don't match. Be more careful when checking and resolving section + offset addresses to make sure none of the base addresses are invalid. llvm-svn: 174222
-
Preston Gurd authored
the SCEV vector size in LoopStrengthReduce. It is observed that the BaseRegs vector size is 4 in most cases, and elements are frequently copied when it is initialized as SmallVector<const SCEV *, 2> BaseRegs. Our benchmark results show that the compilation time performance improved by ~0.5%. Patch by Wan Xiaofei. llvm-svn: 174219
-
Argyrios Kyrtzidis authored
llvm-svn: 174218
-
Dmitri Gribenko authored
llvm-svn: 174217
-