clang  17.0.0git
Classes | Namespaces | Enumerations | Functions
ASTSelection.h File Reference
#include "clang/AST/ASTTypeTraits.h"
#include "clang/AST/Stmt.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/SourceLocation.h"
#include "llvm/Support/raw_ostream.h"
#include <optional>
#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.


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...




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


std::optional< SelectedASTNode > clang::tooling::findSelectedASTNodes (const ASTContext &Context, SourceRange SelectionRange)
 Traverses the given ASTContext and creates a tree of selected AST nodes. More...