#include "InlayHints.h"
#include "../clang-tidy/utils/DesignatedInitializers.h"
#include "AST.h"
#include "Config.h"
#include "HeuristicResolver.h"
#include "ParsedAST.h"
#include "SourceCode.h"
#include "clang/AST/ASTDiagnostic.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclarationName.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/AST/Stmt.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/AST/Type.h"
#include "clang/Basic/Builtins.h"
#include "clang/Basic/OperatorKinds.h"
#include "clang/Basic/SourceManager.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/SaveAndRestore.h"
#include "llvm/Support/ScopedPrinter.h"
#include "llvm/Support/raw_ostream.h"
#include <optional>
#include <string>
#include "clang/AST/TypeNodes.inc"
Go to the source code of this file.
|
namespace | clang |
| ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
|
|
namespace | clang::clangd |
| FIXME: Skip testing on windows temporarily due to the different escaping code mode.
|
|
◆ ABSTRACT_TYPE
#define ABSTRACT_TYPE |
( |
|
TY, |
|
|
|
BASE |
|
) |
| |
◆ CHECK_KIND
#define CHECK_KIND |
( |
|
Enumerator, |
|
|
|
ConfigProperty |
|
) |
| |
Value: case InlayHintKind::Enumerator: \
assert(Cfg.InlayHints.ConfigProperty && \
"Shouldn't get here if kind is disabled!"); \
if (!Cfg.InlayHints.ConfigProperty) \
return; \
break
◆ TYPE
#define TYPE |
( |
|
TY, |
|
|
|
BASE |
|
) |
| |
Value: case Type::TY: \
return getDeclForTypeImpl(llvm::cast<TY##Type>(T));
◆ Decl
const FunctionDecl* Decl = nullptr |
◆ ElseIfs
llvm::DenseSet<const IfStmt *> ElseIfs |
◆ Loc