clang  6.0.0svn
Classes | Namespaces | Enumerations | Functions
ASTSelection.h File Reference
#include "clang/AST/ASTTypeTraits.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/SourceLocation.h"
#include <vector>
Include dependency graph for ASTSelection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  clang::tooling::SelectedASTNode
 Represents a selected AST node. More...
 
class  clang::tooling::CodeRangeASTSelection
 An AST selection value that corresponds to a selection of a set of statements that belong to one body of code (like one function). More...
 

Namespaces

 clang
 Dataflow Directional Tag Classes.
 
 clang::tooling
 

Enumerations

enum  clang::tooling::SourceSelectionKind {
  clang::tooling::SourceSelectionKind::None, clang::tooling::SourceSelectionKind::ContainsSelection, clang::tooling::SourceSelectionKind::ContainsSelectionStart, clang::tooling::SourceSelectionKind::ContainsSelectionEnd,
  clang::tooling::SourceSelectionKind::InsideSelection
}
 

Functions

Optional< SelectedASTNodeclang::tooling::findSelectedASTNodes (const ASTContext &Context, SourceRange SelectionRange)
 Traverses the given ASTContext and creates a tree of selected AST nodes. More...