summaryrefslogtreecommitdiff
path: root/unittests/AST/ASTTypeTraitsTest.cpp
Commit message (Collapse)AuthorAge
* Sort all the #include lines with LLVM's utils/sort_includes.py whichChandler Carruth2014-01-07
| | | | | | | encodes the canonical rules for LLVM's style. I noticed this had drifted quite a bit when cleaning up LLVM, so wanted to clean up Clang as well. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198686 91177308-0d34-0410-b5e6-96231b3b80d8
* Add Distance parameter to ASTNodeKind::isBaseOf.Peter Collingbourne2013-11-23
| | | | | | | | This will allow the completer to order results by relevance. Differential Revision: http://llvm-reviews.chandlerc.com/D2209 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195540 91177308-0d34-0410-b5e6-96231b3b80d8
* Introduce DynTypedNode::print, dump and getSourceRange.Peter Collingbourne2013-11-06
| | | | | | | | | These functions can generally be applied to multiple kinds of AST node, so it makes sense to add them to DynTypedNode. Differential Revision: http://llvm-reviews.chandlerc.com/D2096 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194113 91177308-0d34-0410-b5e6-96231b3b80d8
* Enhancements for the DynTypedNodeSamuel Benzaquen2013-06-19
Added ASTNodeKind as a standalone way to represent node kinds and their hierarchy. This change is to support ongoing work on D815. Reviewers: klimek CC: cfe-commits git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184331 91177308-0d34-0410-b5e6-96231b3b80d8