| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix warning in no-assert mode. | Chris Lattner | 2009-02-19 | 1 | -3/+1 |
| | | | | | llvm-svn: 65024 | ||||
| * | Emit the correct diagnostics when we constant fold an array size to a ↵ | Anders Carlsson | 2009-02-19 | 2 | -3/+17 |
| | | | | | | | negative value. llvm-svn: 65023 | ||||
| * | don't new[] an empty array when an AttributeList has | Chris Lattner | 2009-02-19 | 1 | -5/+9 |
| | | | | | | | | zero expression arguments. This eliminates 2579 1-byte mallocs when parsing Cocoa.h. llvm-svn: 65022 | ||||
| * | Make sure to check the value of the constant expression, as suggested by Daniel. | Anders Carlsson | 2009-02-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 65021 | ||||
| * | Emission of global variable initialializer was broken in rare | Daniel Dunbar | 2009-02-19 | 2 | -1/+39 |
| | | | | | | | | | | | | situation where a tentative decl was emitted *after* the actual initialization. This occurs in some rare situations with static decls. - PR3613. - I'm not particularly happy with this fix, but I don't see a simpler or more elegant solution yet. llvm-svn: 65018 | ||||
| * | scan-build now searches for the clang binary in the subdirectory 'cbin'. | Ted Kremenek | 2009-02-19 | 1 | -2/+2 |
| | | | | | llvm-svn: 65014 | ||||
| * | Handle the GNU void* and function pointer arithmetic extensions for constant ↵ | Anders Carlsson | 2009-02-19 | 2 | -1/+9 |
| | | | | | | | expressions as well. llvm-svn: 65013 | ||||
| * | always search for "builtin" headers at the end of the search path, | Chris Lattner | 2009-02-19 | 1 | -2/+2 |
| | | | | | | | and never remap them with -isysroot. This fixes PR3614. llvm-svn: 65012 | ||||
| * | PR3614: "ignoring nonexistent directory" should print the -isysroot | Chris Lattner | 2009-02-19 | 1 | -2/+2 |
| | | | | | | | mapped path, not the requested path. llvm-svn: 65009 | ||||
| * | fix another typo gabor noticed | Chris Lattner | 2009-02-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 65006 | ||||
| * | fix a typo gabor noticed | Chris Lattner | 2009-02-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 65005 | ||||
| * | Add test case for 'nil receiver returns undefined struct value' check. | Ted Kremenek | 2009-02-19 | 1 | -0/+19 |
| | | | | | llvm-svn: 65004 | ||||
| * | Implemented simple check in <rdar://problem/6600344>: When the receiver of a | Ted Kremenek | 2009-02-19 | 3 | -3/+79 |
| | | | | | | | | message expression is nil and the return type is struct then the returned value is undefined or potentially garbage. llvm-svn: 65003 | ||||
| * | Fit 80col and fix indentation. | Mike Stump | 2009-02-19 | 1 | -263/+264 |
| | | | | | llvm-svn: 65000 | ||||
| * | Fix spacing. | Mike Stump | 2009-02-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 64998 | ||||
| * | More codegen for blocks. The type of block literals should be better. | Mike Stump | 2009-02-19 | 5 | -12/+62 |
| | | | | | | | The size calculation is improved. llvm-svn: 64994 | ||||
| * | Provide a proper source location when building an implicit dereference. ↵ | Douglas Gregor | 2009-02-19 | 3 | -2/+19 |
| | | | | | | | Fixes PR3600 llvm-svn: 64993 | ||||
| * | Some code simplification. ir gen for gc'able array | Fariborz Jahanian | 2009-02-19 | 2 | -14/+17 |
| | | | | | | | of objects in objc. llvm-svn: 64992 | ||||
| * | testing (reverted) | Howard Hinnant | 2009-02-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 64991 | ||||
| * | testing | Howard Hinnant | 2009-02-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 64990 | ||||
| * | Couple of helpers for objc's gc attributes. | Fariborz Jahanian | 2009-02-19 | 2 | -1/+11 |
| | | | | | | | No change in functionality. llvm-svn: 64989 | ||||
| * | Make error-message check platform-agnostic | Douglas Gregor | 2009-02-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 64985 | ||||
| * | Address Chris's comments regarding C++ name mangling. | Douglas Gregor | 2009-02-18 | 7 | -45/+64 |
| | | | | | llvm-svn: 64984 | ||||
| * | retain/release checker: Place the leak diagnostic after the last statement that | Ted Kremenek | 2009-02-18 | 1 | -15/+37 |
| | | | | | | | references the tracked object. llvm-svn: 64980 | ||||
| * | fariborz already fixed this. | Chris Lattner | 2009-02-18 | 1 | -1/+0 |
| | | | | | llvm-svn: 64975 | ||||
| * | Remove unused variable. | Ted Kremenek | 2009-02-18 | 1 | -1/+0 |
| | | | | | llvm-svn: 64974 | ||||
| * | Remove logic for computing 'display hint'. | Ted Kremenek | 2009-02-18 | 1 | -21/+2 |
| | | | | | llvm-svn: 64973 | ||||
| * | minor name changes, no functionality change. | Chris Lattner | 2009-02-18 | 2 | -8/+8 |
| | | | | | llvm-svn: 64972 | ||||
| * | More fun with retain checker diagnostics: | Ted Kremenek | 2009-02-18 | 1 | -7/+17 |
| | | | | | | | | | - Fix some grammar. - Fix a bug where a "reference count incremented" diagnostic would not be shown if the previous typestate was "Released" (only happens in GC mode). llvm-svn: 64971 | ||||
| * | fix some subtle bugs handling the mix of cvr qualifiers, addr spaces, | Chris Lattner | 2009-02-18 | 2 | -36/+57 |
| | | | | | | | | and gc attrs. Add an assert to check that we never get ExtQualType(ExtQualType(T)). llvm-svn: 64970 | ||||
| * | Add anti-FIXME. | Daniel Dunbar | 2009-02-18 | 1 | -1/+4 |
| | | | | | llvm-svn: 64969 | ||||
| * | minor spacing changes. | Chris Lattner | 2009-02-18 | 1 | -4/+4 |
| | | | | | llvm-svn: 64968 | ||||
| * | i386 ABI: Offset computation in va_arg was incorrect for sizeof(Ty)>4. | Daniel Dunbar | 2009-02-18 | 1 | -6/+3 |
| | | | | | | | We are down to only failing gcc.dg/compat/vector-[12] (8 tests total). llvm-svn: 64967 | ||||
| * | fix typo | Chris Lattner | 2009-02-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 64966 | ||||
| * | Remove pointless backslash | Douglas Gregor | 2009-02-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 64965 | ||||
| * | Downgrade the "excess elements in initializer" errors to warnings *in | Douglas Gregor | 2009-02-18 | 7 | -20/+34 |
| | | | | | | | C*. They're required errors in C++. llvm-svn: 64964 | ||||
| * | x86_64 ABI: Fix thinko in computation of bound for "passed in SSE regs" test. | Daniel Dunbar | 2009-02-18 | 1 | -1/+1 |
| | | | | | | | Two more gcc/x86_64 failures down. llvm-svn: 64963 | ||||
| * | Fix diagnostics bugs when computing ranges for the retain/release checker. | Ted Kremenek | 2009-02-18 | 1 | -1/+4 |
| | | | | | llvm-svn: 64962 | ||||
| * | rip out __builtin_overload | Chris Lattner | 2009-02-18 | 13 | -306/+0 |
| | | | | | llvm-svn: 64961 | ||||
| * | Add a few more GC-only test cases for the retain/release checker. | Ted Kremenek | 2009-02-18 | 1 | -2/+16 |
| | | | | | llvm-svn: 64960 | ||||
| * | HTMLDiagnostics: Always display diagnostics *below* the line in question. | Ted Kremenek | 2009-02-18 | 1 | -22/+7 |
| | | | | | llvm-svn: 64959 | ||||
| * | x86_64 ABI: "is passed in regs" computation for va_arg was broken for | Daniel Dunbar | 2009-02-18 | 1 | -1/+1 |
| | | | | | | | | | things passed in mixed registers. This knocks out 8 x86_64 failures. llvm-svn: 64958 | ||||
| * | Return true on errors, return true on errors, return true on errors | Douglas Gregor | 2009-02-18 | 2 | -1/+8 |
| | | | | | llvm-svn: 64957 | ||||
| * | retain/release checker: We now emit fancy diagnostics telling users about the | Ted Kremenek | 2009-02-18 | 1 | -50/+88 |
| | | | | | | | semantics of CFMakeCollectable and friends. llvm-svn: 64956 | ||||
| * | Downgrade complaints about calling unavailable functions to a warning | Douglas Gregor | 2009-02-18 | 14 | -91/+275 |
| | | | | | | | | | | | | | | | | | | | (as GCC does), except when we've performed overload resolution and found an unavailable function: in this case, we actually error. Merge the checking of unavailable functions with the checking for deprecated functions. This unifies a bit of code, and makes sure that we're checking for unavailable functions in the right places. Also, this check can cause an error. We may, eventually, want an option to make "unavailable" warnings into errors. Implement much of the logic needed for C++0x deleted functions, which are effectively the same as "unavailable" functions (but always cause an error when referenced). However, we don't have the syntax to specify deleted functions yet :) llvm-svn: 64955 | ||||
| * | Some refactoring and simplificaiotn of objc's gc | Fariborz Jahanian | 2009-02-18 | 3 | -17/+31 |
| | | | | | | | ir gen. llvm-svn: 64954 | ||||
| * | Codegen for int (^bp)(int) = 0; | Mike Stump | 2009-02-18 | 1 | -2/+4 |
| | | | | | llvm-svn: 64951 | ||||
| * | Fix comment: analyzer builds are universal binaries. | Ted Kremenek | 2009-02-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 64950 | ||||
| * | __attribute__((aligned)) was being ignored! | Daniel Dunbar | 2009-02-18 | 2 | -1/+10 |
| | | | | | | | This knocks out another 8 gcc/compat/i386 & x86_64 failures. llvm-svn: 64947 | ||||
| * | Add Type::isSpecificBuiltinType as a shortcut. | Daniel Dunbar | 2009-02-18 | 2 | -7/+13 |
| | | | | | llvm-svn: 64946 | ||||

