Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed build warning. No functionality change. | Sanjiv Gupta | 2008-10-31 | 1 | -2/+2 | |
| | | | | llvm-svn: 58503 | |||||
* | Add test code for array initialization. | Zhongxing Xu | 2008-10-31 | 1 | -0/+5 | |
| | | | | llvm-svn: 58502 | |||||
* | Made the mechanism of defining preprocessor defs for maxint, ptrdiff_t, wchar | Sanjiv Gupta | 2008-10-31 | 8 | -46/+104 | |
| | | | | | | | | | | etc more generic. For some targets, long may not be equal to pointer size. For example: PIC16 has int as i16, ptr as i16 but long as i32. Also fixed a few build warnings in assert() functions in CFRefCount.cpp, CGDecl.cpp, SemaDeclCXX.cpp and ParseDeclCXX.cpp. llvm-svn: 58501 | |||||
* | Turn off module verification in Release-Asserts builds. | Daniel Dunbar | 2008-10-31 | 1 | -0/+4 | |
| | | | | llvm-svn: 58500 | |||||
* | Add support for parsing and representing C++ constructor declarations. | Douglas Gregor | 2008-10-31 | 15 | -95/+454 | |
| | | | | | | | | | | | | | | | Notes: - Constructors are never found by name lookup, so they'll never get pushed into any scope. Instead, they are stored as an OverloadedFunctionDecl in CXXRecordDecl for easy overloading. - There's a new action isCurrentClassName that determines whether an identifier is the name of the innermost class currently being defined; we use this to identify the declarator-id grammar rule that refers to a type-name. - MinimalAction does *not* support parsing constructors. - We now handle virtual and explicit function specifiers. llvm-svn: 58499 | |||||
* | "One" line fix for -parse-noop failure, "id" and several other things | Daniel Dunbar | 2008-10-31 | 6 | -10/+20 | |
| | | | | | | | | were being treated as type names for non-Objective-C files. - Other lines are just because MinimalAction didn't have access to the LangOptions. llvm-svn: 58498 | |||||
* | Debug info: Bug fix, function types should always include the return | Daniel Dunbar | 2008-10-31 | 1 | -1/+1 | |
| | | | | | | type. llvm-svn: 58497 | |||||
* | Implement BindStruct and fix a bug in RetriveStruct. | Zhongxing Xu | 2008-10-31 | 1 | -4/+33 | |
| | | | | llvm-svn: 58496 | |||||
* | Fix 80-col violations. | Zhongxing Xu | 2008-10-31 | 1 | -5/+5 | |
| | | | | llvm-svn: 58495 | |||||
* | Implement load from struct region. Instead of returning an UnknownVal(), we ↵ | Zhongxing Xu | 2008-10-31 | 1 | -0/+33 | |
| | | | | | | create a CompoundVal by loading from each field of the struct. llvm-svn: 58494 | |||||
* | Make CompoundLiteralRegion a subclass of TypedRegiion. | Zhongxing Xu | 2008-10-31 | 1 | -4/+7 | |
| | | | | llvm-svn: 58493 | |||||
* | Add a tentative assertion. | Zhongxing Xu | 2008-10-31 | 1 | -2/+3 | |
| | | | | llvm-svn: 58492 | |||||
* | On Mac OS X, use TMPDIR as the default location to place analysis results. ↵ | Ted Kremenek | 2008-10-31 | 1 | -2/+9 | |
| | | | | | | This is a more secure location for such files, and addresses <rdar://problem/6334220>. llvm-svn: 58491 | |||||
* | Quick fix for PR2950, infinite loop generating debug info for | Daniel Dunbar | 2008-10-31 | 3 | -20/+35 | |
| | | | | | | | recursive types. - Style will be clean up in further patches. llvm-svn: 58490 | |||||
* | Don't skip over all "terminator" instructions when determining where to put the | Bill Wendling | 2008-10-31 | 2 | -4/+3 | |
| | | | | | | | callee-saved restore code. It could skip over conditional jumps accidentally. Instead, just skip the "return" instructions. llvm-svn: 58489 | |||||
* | Formatting tweaks. | Daniel Dunbar | 2008-10-31 | 2 | -18/+17 | |
| | | | | | | - No functionality change. llvm-svn: 58488 | |||||
* | Fix a comment. | Zhongxing Xu | 2008-10-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 58487 | |||||
* | Fix warning. | Daniel Dunbar | 2008-10-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 58486 | |||||
* | CMake: Fix some unwanted commentary line wraps on the last change. | Oscar Fuentes | 2008-10-31 | 1 | -19/+14 | |
| | | | | llvm-svn: 58485 | |||||
* | CMake: Establish dependencies among executables and libraries, using | Oscar Fuentes | 2008-10-31 | 1 | -3/+123 | |
| | | | | | | data manually extracted from llvm-config. llvm-svn: 58484 | |||||
* | Use MOVSSmr instead of EXTRACTPSmr in the case of extracting | Dan Gohman | 2008-10-31 | 2 | -4/+16 | |
| | | | | | | vector element 0 for a store, as it's smaller and faster. llvm-svn: 58483 | |||||
* | Added missing 'expected-warning' | Ted Kremenek | 2008-10-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 58481 | |||||
* | Enhance compound literal test case. | Ted Kremenek | 2008-10-31 | 1 | -2/+8 | |
| | | | | llvm-svn: 58480 | |||||
* | Use llvm::raw_string_ostream instead of std::ostringstream. | Ted Kremenek | 2008-10-31 | 1 | -4/+4 | |
| | | | | llvm-svn: 58479 | |||||
* | Enhance path-sensitive return-of-stack-address check to print out the line ↵ | Ted Kremenek | 2008-10-31 | 1 | -3/+20 | |
| | | | | | | number of a compound literal (whose address is being returned) instead of printing out the hex representation of the pointer address of the CompoundLiteralExpr. llvm-svn: 58478 | |||||
* | Add accessor method to CompoundLiteralRegion to retrieve the ↵ | Ted Kremenek | 2008-10-31 | 1 | -0/+2 | |
| | | | | | | CompoundLiteralExpr. llvm-svn: 58476 | |||||
* | Revert errant deletion. The target needs to be able to specify that it ↵ | Jim Grosbach | 2008-10-30 | 2 | -0/+8 | |
| | | | | | | doesn't want the generic constant pool to be emitted. llvm-svn: 58475 | |||||
* | I think we got non-machine specific constpool entries covered. | Evan Cheng | 2008-10-30 | 1 | -1/+2 | |
| | | | | llvm-svn: 58474 | |||||
* | Updated checker build. | Ted Kremenek | 2008-10-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 58473 | |||||
* | Add missing "expected warning". | Ted Kremenek | 2008-10-30 | 1 | -2/+3 | |
| | | | | | | Add compound literal with empty initializer (just to test the analyzer handles it). llvm-svn: 58470 | |||||
* | Extend "followsFundamentalRule" to ignore prefix '_' characters. | Ted Kremenek | 2008-10-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 58469 | |||||
* | Handle the case in VisitInitListExprs where there are no initializers in the ↵ | Ted Kremenek | 2008-10-30 | 1 | -8/+15 | |
| | | | | | | compound literal. llvm-svn: 58468 | |||||
* | Add method that will be invoked using the dot-syntax just to test that the ↵ | Ted Kremenek | 2008-10-30 | 1 | -1/+6 | |
| | | | | | | missing -dealloc checker handles it. llvm-svn: 58467 | |||||
* | Distinguish between self.X = ... where self.X is a property reference and ↵ | Ted Kremenek | 2008-10-30 | 1 | -1/+2 | |
| | | | | | | self.X is an implicit call to setX. llvm-svn: 58462 | |||||
* | Change the name of the generated solution file for a CMake build. (from ↵ | Cedric Venet | 2008-10-30 | 1 | -0/+1 | |
| | | | | | | | | | 'project' to 'LLVM'). !!!!!!!!!! Warning !!!!!!!!!!!!!!! If you already have created a solution with cmake, you will need to manually open to the new one. llvm-svn: 58461 | |||||
* | Testcase for PR2987. | Duncan Sands | 2008-10-30 | 1 | -0/+9 | |
| | | | | llvm-svn: 58459 | |||||
* | Canonicalize sext(i1) to i1?-1:0, and update various instcombine | Dan Gohman | 2008-10-30 | 3 | -41/+162 | |
| | | | | | | optimizations accordingly. llvm-svn: 58457 | |||||
* | Testcase for PR2986. | Duncan Sands | 2008-10-30 | 1 | -0/+14 | |
| | | | | llvm-svn: 58456 | |||||
* | Fix PR2986: do not use a potentially illegal | Duncan Sands | 2008-10-30 | 1 | -1/+6 | |
| | | | | | | | | | | type for the shift amount type. Add a check that shifts and rotates use the type returned by getShiftAmountTy for the amount. This exposed some problems in CellSPU and PPC, which have already been fixed. llvm-svn: 58455 | |||||
* | Set svn:ignore on cscope.{files,out} in root llvm directory. | Daniel Dunbar | 2008-10-30 | 0 | -0/+0 | |
| | | | | llvm-svn: 58453 | |||||
* | Set svn:ignore for some Release-Asserts and Output dirs. | Daniel Dunbar | 2008-10-30 | 0 | -0/+0 | |
| | | | | llvm-svn: 58452 | |||||
* | Shift amounts should have type getShiftAmountTy | Duncan Sands | 2008-10-30 | 1 | -9/+9 | |
| | | | | | | | (i32 for PPC, not i8). Correct this, and some formatting while there. llvm-svn: 58451 | |||||
* | Add InlineCost class for represent the estimated cost of inlining a | Daniel Dunbar | 2008-10-30 | 8 | -18/+97 | |
| | | | | | | | | | function. - This explicitly models the costs for functions which should "always" or "never" be inlined. This fixes bugs where such costs were not previously respected. llvm-svn: 58450 | |||||
* | Shift amounts should have the type given by | Duncan Sands | 2008-10-30 | 1 | -5/+5 | |
| | | | | | | getShiftAmountTy (i32 in the case of CellSPU). llvm-svn: 58449 | |||||
* | Improve compound literal test case. | Ted Kremenek | 2008-10-30 | 1 | -2/+6 | |
| | | | | llvm-svn: 58447 | |||||
* | Use the correct predecessor node. | Ted Kremenek | 2008-10-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 58446 | |||||
* | Pretty-printing for SVals now mainly uses llvm::raw_ostream. We have an ↵ | Ted Kremenek | 2008-10-30 | 2 | -127/+9 | |
| | | | | | | adapter for std::ostream, but this will be removed in the future. llvm-svn: 58445 | |||||
* | Add missing return statement. | Ted Kremenek | 2008-10-30 | 1 | -0/+2 | |
| | | | | llvm-svn: 58444 | |||||
* | Add missing vsetcc expansion for widening | Mon P Wang | 2008-10-30 | 1 | -1/+12 | |
| | | | | llvm-svn: 58443 | |||||
* | Added iterators to nonloc::CompoundSVal. | Ted Kremenek | 2008-10-30 | 3 | -1/+30 | |
| | | | | | | Added pretty-printing for nonloc::CompoundSVal. llvm-svn: 58442 |