| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Add clang -cc1 parsing of CodeGenOptions. | Daniel Dunbar | 2009-11-20 | 2 | -1/+64 | |
| | | | | | llvm-svn: 89464 | |||||
| * | Avoid unwanted expansion in macros that paste together INT<n>_C(v) and | Ken Dyck | 2009-11-20 | 1 | -3/+5 | |
| | | | | | | | UINT<n>_C(v) macros. llvm-svn: 89461 | |||||
| * | Avoid unwanted expansion in macros that paste together INT<n>_MIN, INT<n>_MAX, | Ken Dyck | 2009-11-20 | 1 | -13/+16 | |
| | | | | | | | and UINT<n>_MAX defintions. llvm-svn: 89460 | |||||
| * | Avoid unwanted macro expansion in macros that paste together int<n>_t and | Ken Dyck | 2009-11-20 | 1 | -4/+7 | |
| | | | | | | | uint<n>_t definitions. llvm-svn: 89459 | |||||
| * | Fixed crash when using undefined protocols (GNU runtime). | David Chisnall | 2009-11-20 | 1 | -2/+7 | |
| | | | | | llvm-svn: 89457 | |||||
| * | Fix typo GCC 4.3 warned about. | Benjamin Kramer | 2009-11-20 | 1 | -1/+1 | |
| | | | | | llvm-svn: 89453 | |||||
| * | Fix a couple minor memory leaks. | Eli Friedman | 2009-11-20 | 1 | -1/+7 | |
| | | | | | llvm-svn: 89450 | |||||
| * | Add simple static analyzer checker to check for sending 'release', 'retain', ↵ | Ted Kremenek | 2009-11-20 | 1 | -0/+61 | |
| | | | | | | | etc. directly to a class. Fixes <rdar://problem/7252064>. llvm-svn: 89449 | |||||
| * | Unused ivar checker: ivars referenced by lexically nested functions should ↵ | Ted Kremenek | 2009-11-20 | 1 | -1/+32 | |
| | | | | | | | not be flagged as unused. Fixes <rdar://problem/7254495>. llvm-svn: 89448 | |||||
| * | Revert r89437 and add a comment. | Zhongxing Xu | 2009-11-20 | 1 | -1/+2 | |
| | | | | | llvm-svn: 89446 | |||||
| * | Implement throw d, where d is a class type that requires copy | Mike Stump | 2009-11-20 | 1 | -2/+22 | |
| | | | | | | | construction. WIP. llvm-svn: 89442 | |||||
| * | Don't build an explicit conversion to a reference type | Douglas Gregor | 2009-11-20 | 1 | -2/+3 | |
| | | | | | llvm-svn: 89441 | |||||
| * | Handle throw d, where d is a class type but only has a trivial copy | Mike Stump | 2009-11-20 | 1 | -8/+9 | |
| | | | | | | | constructor. WIP. llvm-svn: 89438 | |||||
| * | It's unnecessary to check for unknown at this point. | Zhongxing Xu | 2009-11-20 | 1 | -2/+1 | |
| | | | | | llvm-svn: 89437 | |||||
| * | Driver: Add parsing for TargetOptions to CompilerInvocation::CreateFromArgs. | Daniel Dunbar | 2009-11-20 | 1 | -0/+54 | |
| | | | | | llvm-svn: 89435 | |||||
| * | When we have a non-dependent expression such as | Douglas Gregor | 2009-11-20 | 1 | -5/+0 | |
| | | | | | | | | | | | | | | | | | A::f that occurs within a non-static member function with a type-dependent "this", don't consider this to be a case for introduction of an implicit "(*this)." to refer to a specific member function unless we know (at template definition time) that A is a base class of *this. There is some disagreement here between GCC, EDG, and Clang about the handling of this case. I believe that Clang now has the correct, literal interpretation of the standard, but have asked for clarification (c++std-core-15483). llvm-svn: 89425 | |||||
| * | Add suport for throw;. WIP. | Mike Stump | 2009-11-20 | 1 | -4/+16 | |
| | | | | | llvm-svn: 89424 | |||||
| * | Fix rtti generation for throws. WIP. | Mike Stump | 2009-11-20 | 1 | -9/+1 | |
| | | | | | llvm-svn: 89420 | |||||
| * | Simplify rtti building code a little. Prep for reuse for throw rtti | Mike Stump | 2009-11-20 | 3 | -13/+11 | |
| | | | | | | | generation. llvm-svn: 89416 | |||||
| * | Fix null dereference in NSAutoreleasePoolChecker when analyzing messages ↵ | Ted Kremenek | 2009-11-20 | 1 | -0/+3 | |
| | | | | | | | sent to blocks. llvm-svn: 89413 | |||||
| * | Fixup key function calculations. | Mike Stump | 2009-11-20 | 2 | -7/+5 | |
| | | | | | llvm-svn: 89412 | |||||
| * | Deduce a ConstantArrayType from a value-dependent initializer list | Douglas Gregor | 2009-11-19 | 2 | -8/+35 | |
| | | | | | | | | rather than punting to a DependentSizedArrayType, tightening up our type checking for template definitions. Thanks, John! llvm-svn: 89407 | |||||
| * | Draw a brighter line between "unresolved" expressions, where we have done the | John McCall | 2009-11-19 | 8 | -36/+40 | |
| | | | | | | | | | appropriate lookup and simply can't resolve the referrent yet, and "dependent scope" expressions, where we can't do the lookup yet because the entity we need to look into is a dependent type. llvm-svn: 89402 | |||||
| * | Don't issue spurious diagnostic with Obj-C fast enumeration. | Fariborz Jahanian | 2009-11-19 | 3 | -0/+11 | |
| | | | | | | | (radar 7409165). llvm-svn: 89400 | |||||
| * | Fix some default in the option classes, and some CompilerInvocation argification | Daniel Dunbar | 2009-11-19 | 2 | -15/+22 | |
| | | | | | | | errors. llvm-svn: 89388 | |||||
| * | Fixup address point computations. WIP. | Mike Stump | 2009-11-19 | 1 | -18/+26 | |
| | | | | | llvm-svn: 89386 | |||||
| * | Fix crash when using --analyzer-store=region when handling initializers with ↵ | Ted Kremenek | 2009-11-19 | 1 | -11/+39 | |
| | | | | | | | nested arrays/structs whose values are not explicitly specified. Fixes <rdar://problem/7403269>. llvm-svn: 89384 | |||||
| * | Remove printf statement. | Ted Kremenek | 2009-11-19 | 1 | -2/+0 | |
| | | | | | llvm-svn: 89383 | |||||
| * | Only fetch the ASTContext object within the assertion. | Ted Kremenek | 2009-11-19 | 1 | -4/+2 | |
| | | | | | llvm-svn: 89375 | |||||
| * | Silence -Asserts warning. | Daniel Dunbar | 2009-11-19 | 1 | -0/+1 | |
| | | | | | llvm-svn: 89373 | |||||
| * | Driver: Move INPUT and UNKNOWN sentinel options into the OptParser.td file. | Daniel Dunbar | 2009-11-19 | 2 | -10/+0 | |
| | | | | | llvm-svn: 89371 | |||||
| * | Patch to implement new-operators with default args. | Fariborz Jahanian | 2009-11-19 | 1 | -3/+31 | |
| | | | | | | | Fixes pr5547. llvm-svn: 89370 | |||||
| * | Cope with an amusingly little anomaly with dependent types and | Douglas Gregor | 2009-11-19 | 2 | -9/+40 | |
| | | | | | | | | | | | | | | | | | | | incomplete array initialization, where we have the following in a template: int a[] = { 1, 2, something-value-dependent }; // ... sizeof(a); The type of "a" appears to be a non-dependent IncompleteArrayType, but treating it as such makes the sizeof(a) fail at template definition time. We now correctly handle this by morphing the IncompleteArrayType into a DependentSizedArrayType with a NULL expression, indicating that its size has no corresponding expression (and, therefore, the type is distinct from others). llvm-svn: 89366 | |||||
| * | Added preliminary support step for PS3 | John Thompson | 2009-11-19 | 1 | -0/+47 | |
| | | | | | llvm-svn: 89362 | |||||
| * | Define WCHAR_MIN and WCHAR_MAX in terms of __WCHAR_WIDTH__ for consistency with | Ken Dyck | 2009-11-19 | 1 | -2/+2 | |
| | | | | | | | other limit macros. llvm-svn: 89355 | |||||
| * | Define __WCHAR_WIDTH__ for use in stdint.h. | Ken Dyck | 2009-11-19 | 1 | -0/+1 | |
| | | | | | llvm-svn: 89353 | |||||
| * | Parameterize WINT_MIN and WINT_MAX with __WINT_WIDTH__ to support arbitrary | Ken Dyck | 2009-11-19 | 1 | -2/+2 | |
| | | | | | | | widths. This corrects the values of these definitions for MSP430 and PIC16. llvm-svn: 89350 | |||||
| * | Add __WINT_WIDTH__ to paramaterize the limits of WINT_MIN and WINT_MAX in | Ken Dyck | 2009-11-19 | 1 | -0/+1 | |
| | | | | | | | stdint.h. llvm-svn: 89348 | |||||
| * | Construct definition of SIZE_MAX from __SIZE_WIDTH__ to support targets of | Ken Dyck | 2009-11-19 | 1 | -16/+1 | |
| | | | | | | | arbitrary widths. llvm-svn: 89347 | |||||
| * | Add __SIZE_WIDTH__ to eventually replace __SIZE_TYPE__ in stdint.h. | Ken Dyck | 2009-11-19 | 1 | -0/+1 | |
| | | | | | llvm-svn: 89346 | |||||
| * | Restore __INTMAX_TYPE__, __UINTMAX_TYPE__, __PTRDIFF_TYPE__, and | Ken Dyck | 2009-11-19 | 1 | -0/+4 | |
| | | | | | | | | __INTPTR_TYPE__ as the last is used in the test/CodeGen/const-init.c and all could potentially be in use in the wild. My apologies. llvm-svn: 89345 | |||||
| * | Remove __PTRDIFF_TYPE__ as it is no longer needed by stdint.h. It has been | Ken Dyck | 2009-11-19 | 1 | -1/+0 | |
| | | | | | | | replaced with __PTRDIFF_WIDTH__. llvm-svn: 89344 | |||||
| * | Construct the macro body of PTRDIFF_MAX and PTRDIFF_MIN from __PTRDIFF_WIDTH__. | Ken Dyck | 2009-11-19 | 1 | -6/+2 | |
| | | | | | llvm-svn: 89343 | |||||
| * | Add __PTRDIFF_WIDTH__ macro to eventually replace __PTRDIFF_TYPE__ in stdint.h. | Ken Dyck | 2009-11-19 | 1 | -0/+1 | |
| | | | | | llvm-svn: 89342 | |||||
| * | Remove __INTPTR_TYPE__ as it is no longer needed by stdint.h, which uses | Ken Dyck | 2009-11-19 | 1 | -1/+0 | |
| | | | | | | | __INTPTR_WIDTH__ instead. llvm-svn: 89340 | |||||
| * | Objective-C code completion within properties after "setter = " or | Douglas Gregor | 2009-11-19 | 3 | -33/+161 | |
| | | | | | | | "getter = ", to provide suitable method names. llvm-svn: 89334 | |||||
| * | Sketch some 'clang -cc1' support, for testing parts of CompilerInvocation. | Daniel Dunbar | 2009-11-19 | 1 | -1/+0 | |
| | | | | | llvm-svn: 89333 | |||||
| * | Add missing dependency for CMake. | Daniel Dunbar | 2009-11-19 | 1 | -1/+1 | |
| | | | | | llvm-svn: 89332 | |||||
| * | Sketch .td file and build system goop for OptTable based clang-cc options. | Daniel Dunbar | 2009-11-19 | 2 | -0/+44 | |
| | | | | | llvm-svn: 89330 | |||||
| * | Factor out OptTable::ParseArgs, for parsing an entire argument vector. | Daniel Dunbar | 2009-11-19 | 2 | -28/+46 | |
| | | | | | llvm-svn: 89327 | |||||

