summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/InheritViz.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove unneeded llvm:: namespace qualifiers on some core types now that ↵Chris Lattner2011-07-231-4/+4
| | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852
* Revert 123553, as sys::fs::unique_file is not finished yet.Dan Gohman2011-03-011-17/+22
| | | | llvm-svn: 126772
* AST/InheritViz: Remove all internal uses of PathV1.Michael J. Spencer2011-01-151-22/+17
| | | | llvm-svn: 123553
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-3/+3
| | | | llvm-svn: 81346
* Update clang for raw_fd_ostream no longer requiring F_Force.Dan Gohman2009-08-251-2/+1
| | | | llvm-svn: 79991
* adjust for raw_fd_ostream api change.Chris Lattner2009-08-231-1/+2
| | | | llvm-svn: 79809
* Change uses of:Ted Kremenek2009-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsRecordType() -> Type::getAs<RecordType>() Type::getAsPointerType() -> Type::getAs<PointerType>() Type::getAsBlockPointerType() -> Type::getAs<BlockPointerType>() Type::getAsLValueReferenceType() -> Type::getAs<LValueReferenceType>() Type::getAsRValueReferenceType() -> Type::getAs<RValueReferenceType>() Type::getAsMemberPointerType() -> Type::getAs<MemberPointerType>() Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsTagType() -> Type::getAs<TagType>() And remove Type::getAsReferenceType(), etc. This change is similar to one I made a couple weeks ago, but that was partly reverted pending some additional design discussion. With Doug's pending smart pointer changes for Types, it seemed natural to take this approach. llvm-svn: 77510
* Per offline discussion with Steve Naroff, add back Type::getAsXXXType() methodsTed Kremenek2009-07-171-1/+1
| | | | | | | | | until Doug Gregor's Type smart pointer code lands (or more discussion occurs). These methods just call the new Type::getAs<XXX> methods, so we still have reduced implementation redundancy. Having explicit getAsXXXType() methods makes it easier to set breakpoints in the debugger. llvm-svn: 76193
* Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), ↵Ted Kremenek2009-07-171-1/+1
| | | | | | Type::getAsMemberPointerType(), Type::getAsTagType(), and Type::getAsRecordType() with their Type::getAs<XXX> equivalents. llvm-svn: 76139
* Update for raw_fd_ostream API changes. raw_fd_ostream now has aDan Gohman2009-07-151-1/+1
| | | | | | | Force flag to control whether the case of opening an existing file is considered an error. llvm-svn: 75802
* [LLVM up] Update for raw_fd_ostream change. This fixes a FIXME thatDaniel Dunbar2008-11-131-1/+1
| | | | | | | | the Backend output should be done in binary mode. - I'd appreciate it if someone who has a Windows build could verify this. llvm-svn: 59221
* Move viewInheritance to CXXRecordDecl, and make sure it builds in Release ↵Douglas Gregor2008-10-241-14/+4
| | | | | | mode, too llvm-svn: 58105
* 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
* Clean up and document the representation of C++ base classesDouglas Gregor2008-10-231-2/+2
| | | | llvm-svn: 58040
* If NDEBUG is set, don't include any of the code for visualizing inheritance ↵Douglas Gregor2008-10-231-0/+2
| | | | | | hierarchies llvm-svn: 58029
* 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-221-0/+265
Factored the QualTypeOrdering predicate into its own header (TypeOrdering.h), now that it is used in two places. llvm-svn: 58001
OpenPOWER on IntegriCloud