clang-tools 22.0.0git
DirectiveTree.h File Reference
#include "Token.h"
#include "clang/Basic/TokenKinds.h"
#include <optional>
#include <variant>
#include <vector>

Go to the source code of this file.

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

void clang::clangd::chooseConditionalBranches (DirectiveTree &, const TokenStream &Code)
 Describes the structure of a source file, as seen by the preprocessor.
std::vector< Token::Rangeclang::clangd::pairDirectiveRanges (const DirectiveTree &Tree, const TokenStream &Code)
 Pairs preprocessor conditional directives and computes their token ranges.