clang-tools 20.0.0git
|
#include "Token.h"
#include "clang/Basic/TokenKinds.h"
#include <optional>
#include <variant>
#include <vector>
Go to the source code of this file.
Classes | |
struct | clang::clangd::DirectiveTree |
Describes the structure of a source file, as seen by the preprocessor. More... | |
struct | clang::clangd::DirectiveTree::Code |
A range of code (and possibly comments) containing no directives. More... | |
struct | clang::clangd::DirectiveTree::Directive |
A preprocessor directive. More... | |
struct | clang::clangd::DirectiveTree::Conditional |
A preprocessor conditional section. More... | |
Namespaces | |
namespace | clang |
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===// | |
namespace | clang::clangd |
FIXME: Skip testing on windows temporarily due to the different escaping code mode. | |
Functions | |
llvm::raw_ostream & | clang::clangd::operator<< (llvm::raw_ostream &, const DirectiveTree &) |
llvm::raw_ostream & | clang::clangd::operator<< (llvm::raw_ostream &, const DirectiveTree::Code &) |
llvm::raw_ostream & | clang::clangd::operator<< (llvm::raw_ostream &, const DirectiveTree::Directive &) |
llvm::raw_ostream & | clang::clangd::operator<< (llvm::raw_ostream &, const DirectiveTree::Conditional &) |
void | clang::clangd::chooseConditionalBranches (DirectiveTree &, const TokenStream &Code) |
Selects a "taken" branch for each conditional directive in the file. | |