summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Make the analyzer store (memory model) a command line option.Ted Kremenek2008-10-248-9/+63
| | | | llvm-svn: 58056
* Map compilation units using FileEntry pointers instead ofDaniel Dunbar2008-10-242-11/+8
| | | | | | | | | FileIDs. This seems better conceptually and lets the SourceManager handle details of mapping the location to a file ID. - In practice, fixes an assert because this code wasn't using getPhysicalLoc. llvm-svn: 58055
* Use llvm::errs() instead of cerr.Ted Kremenek2008-10-231-5/+5
| | | | llvm-svn: 58054
* Convert InheritanceHierarchyWriter to use llvm::raw_ostream instead of ↵Ted Kremenek2008-10-231-11/+10
| | | | | | std::ostream. llvm-svn: 58053
* Added raw_fd_ostream::close().Ted Kremenek2008-10-232-3/+17
| | | | llvm-svn: 58052
* Added driver option "-cxx-inheritance-view" for viewing the C++ hierarchy of ↵Ted Kremenek2008-10-233-2/+49
| | | | | | a class in GraphViz. llvm-svn: 58051
* Added iterators for types.Ted Kremenek2008-10-231-0/+12
| | | | llvm-svn: 58050
* Fix regression in comparison of qualified id; == operator was beingDaniel Dunbar2008-10-232-1/+10
| | | | | | created with LHS and RHS whose types didn't match. llvm-svn: 58049
* Changes to make the Windows build work...Steve Naroff2008-10-233-116/+131
| | | | | | | | - Add a file to the VC++ project. - Make sure the clang driver links against the Transforms library. - Incorporate changes from patch by Dan Gohman. llvm-svn: 58048
* Add some files to VC++ project.Steve Naroff2008-10-232-0/+12
| | | | llvm-svn: 58047
* Updated Xcode project.Ted Kremenek2008-10-231-6/+26
| | | | llvm-svn: 58046
* For Radar reporting, null dereferences should be default classified as ↵Ted Kremenek2008-10-231-0/+2
| | | | | | "Crash/Hang/Data loss" <rdar://problem/6315624> llvm-svn: 58045
* Committing a good chunk of the pre-register allocation live interval ↵Evan Cheng2008-10-233-12/+611
| | | | | | splitting pass. It's handling simple cases and appear to do good things. Next: avoid splitting an interval multiple times; renumber registers when possible; record stack slot live intervals for coloring; rematerialize defs when possible. llvm-svn: 58044
* Mark defs and uses of CTR and LR correctly.Dale Johannesen2008-10-232-11/+30
| | | | | | | | Prevents DeadMachineInstructionElim from thinking things like MTCTR are dead (fixes massive testsuite breakage at -O0). llvm-svn: 58043
* Make sure to set stdout to binary when writing bitcode files viaDaniel Dunbar2008-10-231-0/+3
| | | | | | std::ostream API. llvm-svn: 58042
* Fix thinko - the operand number has nothing to doDuncan Sands2008-10-232-3/+3
| | | | | | with the result number. llvm-svn: 58041
* Clean up and document the representation of C++ base classesDouglas Gregor2008-10-235-52/+81
| | | | llvm-svn: 58040
* Introduce INT64_C macro and unbreak LLVM on MSVC.Argyrios Kyrtzidis2008-10-231-0/+3
| | | | llvm-svn: 58039
* Hook "fast" code generation to -O0.Daniel Dunbar2008-10-231-8/+5
| | | | llvm-svn: 58035
* Add -O[0-3s] support (following llvm-gcc).Daniel Dunbar2008-10-234-11/+186
| | | | | | - Passes match llvm-gcc but many of the switches aren't wired. llvm-svn: 58034
* Add an assertion to make our intention more clear.Zhongxing Xu2008-10-231-0/+2
| | | | llvm-svn: 58030
* If NDEBUG is set, don't include any of the code for visualizing inheritance ↵Douglas Gregor2008-10-231-0/+2
| | | | | | hierarchies llvm-svn: 58029
* Let StoreManager do different cast on arrays. BasicStore will just keep it ↵Zhongxing Xu2008-10-234-2/+15
| | | | | | intact. llvm-svn: 58028
* Updated checker build.Ted Kremenek2008-10-231-1/+1
| | | | llvm-svn: 58027
* Temporarily mark this test XFAIL.Ted Kremenek2008-10-231-2/+3
| | | | llvm-svn: 58024
* Disable warning about potential leaks of returned values until we test it a ↵Ted Kremenek2008-10-231-3/+33
| | | | | | little more (lots of noise). llvm-svn: 58021
* Added a method to ElementRegion.Zhongxing Xu2008-10-231-0/+2
| | | | llvm-svn: 58020
* Add support for conversions from a pointer-to-derived to aDouglas Gregor2008-10-235-19/+243
| | | | | | | | | | | | pointer-to-base. Also, add overload ranking for pointer conversions (for both pointer-to-void and derived-to-base pointer conversions). Note that we do not yet diagnose derived-to-base pointer conversion errors that stem from ambiguous or inacessible base classes. These aren't handled during overload resolution; rather, when the conversion is actually used we go ahead and diagnose the error. llvm-svn: 58017
* make this test not depend on how the system header defines memset.Chris Lattner2008-10-231-1/+2
| | | | llvm-svn: 58016
* Update Xcode project. We still get a link error, however, because of an ↵Ted Kremenek2008-10-231-0/+12
| | | | | | LLVM library that isn't being linked in for CodeGen (will fix). llvm-svn: 58015
* Warn about potentially leaked objects that are returned from methods whose ↵Ted Kremenek2008-10-222-16/+90
| | | | | | names do not follow the Cocoa Memory Management guidelines. llvm-svn: 58012
* Fix <rdar://problem/6312683> clang block rewriter:Steve Naroff2008-10-221-1/+0
| | | | llvm-svn: 58011
* Change create*Pass factory functions to return Pass* instead ofDaniel Dunbar2008-10-2210-19/+18
| | | | | | | | | | | LoopPass*. - Although less precise, this means they can be used in clients without RTTI (who would otherwise need to include LoopPass.h, which eventually includes things using dynamic_cast). This was the simplest solution that presented itself, but I am happy to use a better one if available. llvm-svn: 58010
* Fix incorrect testing for the end of the both strings in CStrInCStrNoCase. ↵Ted Kremenek2008-10-221-1/+1
| | | | | | This could cause a read-out-of-bounds error if s2 is smaller than s1. llvm-svn: 58009
* Restrict creation of OverloadedFunctionDecl only to C++ (it was getting used ↵Argyrios Kyrtzidis2008-10-221-1/+2
| | | | | | for invalid redeclarations on C). llvm-svn: 58008
* Fix <rdar://problem/6311947> clang on xcode (regression): error: use of ↵Steve Naroff2008-10-222-2/+35
| | | | | | | | undeclared identifier 'expandedValue'. Mea culpa: I introduced this regresson in the following 2 commits: r57529 (10/14), r57841 (10/20). llvm-svn: 58007
* remove extraneous #ifdef'sJim Grosbach2008-10-221-4/+0
| | | | llvm-svn: 58006
* Updated checker build.Ted Kremenek2008-10-221-1/+1
| | | | llvm-svn: 58005
* Remove the GraphWriter-based version of the C++ class inheritance ↵Douglas Gregor2008-10-221-89/+1
| | | | | | visualization, since it isn't being used and can't handle virtual bases properly llvm-svn: 58002
* Added GraphViz visualization of C++ inheritance hierarchies. Douglas Gregor2008-10-224-9/+305
| | | | | | | Factored the QualTypeOrdering predicate into its own header (TypeOrdering.h), now that it is used in two places. llvm-svn: 58001
* Now that DeclRefExpr accepts a NamedDecl, use a DeclRefExpr for when a ↵Argyrios Kyrtzidis2008-10-222-5/+2
| | | | | | CXXFieldDecl is referenced inside a method. llvm-svn: 58000
* Enhance reference-count checker to correctly identify CG "release" ↵Ted Kremenek2008-10-222-5/+31
| | | | | | functions. This fixes <rdar://problem/6303488>. llvm-svn: 57997
* Fix <rdar://problem/6257675> error: member reference base type ↵Steve Naroff2008-10-222-0/+39
| | | | | | | | ('NSUserDefaults *') is not a structure or union. Teach Sema::ActOnMemberReferenceExpr() to look through local category implementations associated with the class. llvm-svn: 57995
* Only create the target machine when emitting assembly.Daniel Dunbar2008-10-221-17/+17
| | | | llvm-svn: 57993
* Add representation of base classes in the AST, and verify that weDouglas Gregor2008-10-2210-36/+234
| | | | | | | | don't have duplicated direct base classes. Seriliazation of base class specifiers is not yet implemented. llvm-svn: 57991
* [LLVM up] Get rid of std::ostream usage from Backend.cppDaniel Dunbar2008-10-221-18/+4
| | | | llvm-svn: 57990
* Add raw_ostream versions of WriteBitcodeToFile and BitcodeWriterPass.Daniel Dunbar2008-10-223-5/+35
| | | | | | | - The old versions are still hanging around, but should be migrated away from. llvm-svn: 57989
* Add support for assembler-with-cpp (preprocessed .S files), patch byChris Lattner2008-10-222-2/+10
| | | | | | Roman Divacky! llvm-svn: 57988
* Remove allocation of unused stack slot.Dale Johannesen2008-10-221-6/+0
| | | | llvm-svn: 57987
* Fix for PR2881: fix a small leak exposed by valgrind, using a ManagedStatic.Julien Lerouge2008-10-221-6/+5
| | | | llvm-svn: 57984
OpenPOWER on IntegriCloud