summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed build warning. No functionality change.Sanjiv Gupta2008-10-311-2/+2
| | | | llvm-svn: 58503
* Add test code for array initialization.Zhongxing Xu2008-10-311-0/+5
| | | | llvm-svn: 58502
* Made the mechanism of defining preprocessor defs for maxint, ptrdiff_t, wcharSanjiv Gupta2008-10-318-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 Dunbar2008-10-311-0/+4
| | | | llvm-svn: 58500
* Add support for parsing and representing C++ constructor declarations.Douglas Gregor2008-10-3115-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 thingsDaniel Dunbar2008-10-316-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 returnDaniel Dunbar2008-10-311-1/+1
| | | | | | type. llvm-svn: 58497
* Implement BindStruct and fix a bug in RetriveStruct.Zhongxing Xu2008-10-311-4/+33
| | | | llvm-svn: 58496
* Fix 80-col violations.Zhongxing Xu2008-10-311-5/+5
| | | | llvm-svn: 58495
* Implement load from struct region. Instead of returning an UnknownVal(), we ↵Zhongxing Xu2008-10-311-0/+33
| | | | | | create a CompoundVal by loading from each field of the struct. llvm-svn: 58494
* Make CompoundLiteralRegion a subclass of TypedRegiion.Zhongxing Xu2008-10-311-4/+7
| | | | llvm-svn: 58493
* Add a tentative assertion.Zhongxing Xu2008-10-311-2/+3
| | | | llvm-svn: 58492
* On Mac OS X, use TMPDIR as the default location to place analysis results. ↵Ted Kremenek2008-10-311-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 forDaniel Dunbar2008-10-313-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 theBill Wendling2008-10-312-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 Dunbar2008-10-312-18/+17
| | | | | | - No functionality change. llvm-svn: 58488
* Fix a comment.Zhongxing Xu2008-10-311-1/+1
| | | | llvm-svn: 58487
* Fix warning.Daniel Dunbar2008-10-311-1/+1
| | | | llvm-svn: 58486
* CMake: Fix some unwanted commentary line wraps on the last change.Oscar Fuentes2008-10-311-19/+14
| | | | llvm-svn: 58485
* CMake: Establish dependencies among executables and libraries, usingOscar Fuentes2008-10-311-3/+123
| | | | | | data manually extracted from llvm-config. llvm-svn: 58484
* Use MOVSSmr instead of EXTRACTPSmr in the case of extractingDan Gohman2008-10-312-4/+16
| | | | | | vector element 0 for a store, as it's smaller and faster. llvm-svn: 58483
* Added missing 'expected-warning'Ted Kremenek2008-10-311-1/+1
| | | | llvm-svn: 58481
* Enhance compound literal test case.Ted Kremenek2008-10-311-2/+8
| | | | llvm-svn: 58480
* Use llvm::raw_string_ostream instead of std::ostringstream.Ted Kremenek2008-10-311-4/+4
| | | | llvm-svn: 58479
* Enhance path-sensitive return-of-stack-address check to print out the line ↵Ted Kremenek2008-10-311-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 Kremenek2008-10-311-0/+2
| | | | | | CompoundLiteralExpr. llvm-svn: 58476
* Revert errant deletion. The target needs to be able to specify that it ↵Jim Grosbach2008-10-302-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 Cheng2008-10-301-1/+2
| | | | llvm-svn: 58474
* Updated checker build.Ted Kremenek2008-10-301-1/+1
| | | | llvm-svn: 58473
* Add missing "expected warning".Ted Kremenek2008-10-301-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 Kremenek2008-10-301-2/+2
| | | | llvm-svn: 58469
* Handle the case in VisitInitListExprs where there are no initializers in the ↵Ted Kremenek2008-10-301-8/+15
| | | | | | compound literal. llvm-svn: 58468
* Add method that will be invoked using the dot-syntax just to test that the ↵Ted Kremenek2008-10-301-1/+6
| | | | | | missing -dealloc checker handles it. llvm-svn: 58467
* Distinguish between self.X = ... where self.X is a property reference and ↵Ted Kremenek2008-10-301-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 Venet2008-10-301-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 Sands2008-10-301-0/+9
| | | | llvm-svn: 58459
* Canonicalize sext(i1) to i1?-1:0, and update various instcombineDan Gohman2008-10-303-41/+162
| | | | | | optimizations accordingly. llvm-svn: 58457
* Testcase for PR2986.Duncan Sands2008-10-301-0/+14
| | | | llvm-svn: 58456
* Fix PR2986: do not use a potentially illegalDuncan Sands2008-10-301-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 Dunbar2008-10-300-0/+0
| | | | llvm-svn: 58453
* Set svn:ignore for some Release-Asserts and Output dirs.Daniel Dunbar2008-10-300-0/+0
| | | | llvm-svn: 58452
* Shift amounts should have type getShiftAmountTyDuncan Sands2008-10-301-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 aDaniel Dunbar2008-10-308-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 byDuncan Sands2008-10-301-5/+5
| | | | | | getShiftAmountTy (i32 in the case of CellSPU). llvm-svn: 58449
* Improve compound literal test case.Ted Kremenek2008-10-301-2/+6
| | | | llvm-svn: 58447
* Use the correct predecessor node.Ted Kremenek2008-10-301-1/+1
| | | | llvm-svn: 58446
* Pretty-printing for SVals now mainly uses llvm::raw_ostream. We have an ↵Ted Kremenek2008-10-302-127/+9
| | | | | | adapter for std::ostream, but this will be removed in the future. llvm-svn: 58445
* Add missing return statement.Ted Kremenek2008-10-301-0/+2
| | | | llvm-svn: 58444
* Add missing vsetcc expansion for wideningMon P Wang2008-10-301-1/+12
| | | | llvm-svn: 58443
* Added iterators to nonloc::CompoundSVal.Ted Kremenek2008-10-303-1/+30
| | | | | | Added pretty-printing for nonloc::CompoundSVal. llvm-svn: 58442
OpenPOWER on IntegriCloud