clang 20.0.0git
|
#include "clang-c/Index.h"
#include "clang/AST/Type.h"
#include "clang/Basic/LLVM.h"
#include "clang/Lex/MacroInfo.h"
#include "clang/Sema/CodeCompleteOptions.h"
#include "clang/Sema/DeclSpec.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/type_traits.h"
#include <cassert>
#include <memory>
#include <optional>
#include <string>
#include <utility>
Go to the source code of this file.
Classes | |
class | clang::CodeCompletionContext |
The context in which code completion occurred, so that the code-completion consumer can process the results accordingly. More... | |
class | clang::CodeCompletionString |
A "string" used to describe how code completion can be performed for an entity. More... | |
struct | clang::CodeCompletionString::Chunk |
One piece of the code completion string. More... | |
class | clang::CodeCompletionAllocator |
An allocator used specifically for the purpose of code completion. More... | |
class | clang::GlobalCodeCompletionAllocator |
Allocator for a cached set of global code completions. More... | |
class | clang::CodeCompletionTUInfo |
class | clang::CodeCompletionBuilder |
A builder class used to construct new code-completion strings. More... | |
class | clang::CodeCompletionResult |
Captures a result of code completion. More... | |
class | clang::CodeCompleteConsumer |
Abstract interface for a consumer of code-completion information. More... | |
class | clang::CodeCompleteConsumer::OverloadCandidate |
class | clang::PrintingCodeCompleteConsumer |
A simple code-completion consumer that prints the results it receives in a simple format. More... | |
Namespaces | |
namespace | clang |
The JSON file list parser is used to communicate input to InstallAPI. | |
Functions | |
SimplifiedTypeClass | clang::getSimplifiedTypeClass (CanQualType T) |
Determine the simplified type class of the given canonical type. | |
QualType | clang::getDeclUsageType (ASTContext &C, const NamedDecl *ND) |
Determine the type that this declaration will have if it is used as a type or in an expression. | |
unsigned | clang::getMacroUsagePriority (StringRef MacroName, const LangOptions &LangOpts, bool PreferredTypeIsPointer=false) |
Determine the priority to be given to a macro code completion result with the given name. | |
CXCursorKind | clang::getCursorKindForDecl (const Decl *D) |
Determine the libclang cursor kind associated with the given declaration. | |
llvm::StringRef | clang::getCompletionKindString (CodeCompletionContext::Kind Kind) |
Get string representation of Kind , useful for debugging. | |
bool | clang::operator< (const CodeCompletionResult &X, const CodeCompletionResult &Y) |
bool | clang::operator> (const CodeCompletionResult &X, const CodeCompletionResult &Y) |
bool | clang::operator<= (const CodeCompletionResult &X, const CodeCompletionResult &Y) |
bool | clang::operator>= (const CodeCompletionResult &X, const CodeCompletionResult &Y) |
const RawComment * | clang::getCompletionComment (const ASTContext &Ctx, const NamedDecl *Decl) |
Get the documentation comment used to produce CodeCompletionString::BriefComment for RK_Declaration. | |
const RawComment * | clang::getPatternCompletionComment (const ASTContext &Ctx, const NamedDecl *Decl) |
Get the documentation comment used to produce CodeCompletionString::BriefComment for RK_Pattern. | |
const RawComment * | clang::getParameterComment (const ASTContext &Ctx, const CodeCompleteConsumer::OverloadCandidate &Result, unsigned ArgIndex) |
Get the documentation comment used to produce CodeCompletionString::BriefComment for OverloadCandidate. | |